Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'ImageMagick' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Authored by: fracai on Dec 31, '07 08:13:12AM

Or you can use ImageMagick if you have it installed.

The following will resize an image if it is larger than the given size while retaining the image proportions. If you always want to resize the image (ie. enlarge an image if it is smaller than the given dimensions) omit the ">".

convert -resize "100x100>" image.jpg image-thumb.jpg

i am jack's amusing sig file

[ Reply to This | # ]
…or just use sips
Authored by: spicyj on Dec 31, '07 10:44:12AM
This is true, but patniemeyer's suggestion doesn't require installing ImageMagick (sips is an interface to Apple's Image Events processing system).

Just type sips -Z 100 image.jpg --out image-thumb.jpg to achieve the same result as your command.

[ Reply to This | # ]