resize jpeg
Tim Chase
blinux.list at thechases.com
Tue Nov 11 22:03:31 UTC 2008
> I need to resize a jpeg. Is there a command line program that
> I can use to do this?
The ImageMagick package has the "convert" utility which you can
use for all sorts of image transformations. To convert "in.jpg"
to a 320x200 "out.jpg" file, you can use
convert -resize 320x200 in.jpg out.jpg
It's pretty smart about sniffing input/output formats, and you
can do all sorts of other transformations (rotations, changing
color pool, adding text,
cropping, etc) as detailed in the man page.
-tim
More information about the Blinux-list
mailing list