How To Batch Create Thumbnails Using mogrify

Published Date Author: , Posted August 7th, 2013 at 10:06:16pm

I used the ImageMagick mogrify command to batch-create over 14,000 thumbnails easily.

Since the default operation is to overwrite the originals, I chose to write the output files into a different directory with the -path option.

Note the greater-than sign (>) after the 100×100 dimensions. This flag tells mogrify to only shrink images that have more than the calculated number of pixels, while leaving images that are already smaller than that size.

mogrify -format png -auto-orient -thumbnail '100x100>' -unsharp 0x.5 -path ../thumbs '*.png'

No comments as yet.

Leave Your Comment  Leave a comment

All fields marked with "*" are required.