Pick of the Week - Nov 10 [Show all picks]
Path Finder 5 - A feature-laden Finder replacement
Submit Hint Search The Forums LinksStatsPollsFAQHeadlinesRSS
12,000 hints and counting!


Click here to return to the 'ImageMagick' hint
The following comments are owned by whomever posted them. This site is not responsible for what they say.
ImageMagick
Authored by: fracai on Mon, Dec 31 2007 at 8:13AM PST
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 Mon, Dec 31 2007 at 10:44AM PST
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 | # ]