Converting Different Image Sizes to 80x80

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Converting Different Image Sizes to 80x80

Post by anthony »

Yes read, Thumbnailing, in IM examples... http://www.imagemagick.org/Usage/thumbnails
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Converting Different Image Sizes to 80x80

Post by fmw42 »

to process them all at once use mogrify (see http://www.imagemagick.org/Usage/basics/#mogrify) but be very careful you understand how to use it. Try it on some test images until you get the hang of it.

If all your images are different sizes, you cannot make them all 80x80 as IM will keep the aspect ratio of your original. Thus you will need to crop them or pad them after you scale them.

See -thumbnail or -resize and the use of the ^ option. (If on Windows ^^, as ^ is an escape. See http://www.imagemagick.org/Usage/api/#windows)

see the recent post about this viewtopic.php?f=1&t=11750

Also you may want to search the archives (see the search link at the top of the page) to see what others have asked and the answers.
Post Reply