Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Oct 2001 09:23:30 -0700 (PDT)
From:      David Kirchner <davidk@accretivetg.com>
To:        <rene@xs4all.nl>
Cc:        <questions@FreeBSD.ORG>
Subject:   Re: how to resize many images from a console-prompt?
Message-ID:  <20011026092203.F25870-100000@localhost>
In-Reply-To: <20011026181810.A23909@xs4all.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 26 Oct 2001 rene@xs4all.nl wrote:

> Hi. I have large directories full of image files that I need to do processing
> on. Can anyone tell me which packages are out there that might assist me?
>
> I'm particularly looking for functionality to get fileinformation (width,
> height, no of colors) in an .gif, .png or .jpg image.
> With that information, I'd like to be able to resize all 3 fileformats to
> something that I specify.
> For instance, I'd like to be able to resize along only 1 edge, and have the
> program calculate the proportions for me, and any whitespace that is left
> over should have a color defined by me or be transparant..
>
> I know I'm asking for a lot; is it out there? ;)

Install ImageMagick and check out 'convert'. Specifically, something like:

convert -geometry 500x500 input.jpg output.jpg

will convert the image so one side is 500.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011026092203.F25870-100000>