NAS Technology Consulting

Batch Convert Images using ImageMagick

June 24th, 2009

I am using ImageMagick 6.4.1 convert.exe feature to batch convert multiple files. Usually this is from TIF to JPG or even a large JPG to a smaller size. Here is what I have so far:
1. Open cmd and cd “C:Program FilesImageMagick-6.4.1-Q16”
2. convert c:tempfile.tif c:tempfile.jpg (this works)
3. or go into directory containing files to convert
4. mogrify -format jpg *.tif (AHA! This preserves file names!)

I just used this mogrify command to batch resize.  However, it OVERWRITES the originals, so keep that in mind.

5. mogrify -resize 1024 *.jpg

ImageMagick Install: ftp://ftp.imagemagick.org/pub/ImageMagick/windows/ImageMagick-windows.zip

http://imagemagick.org

0 Comments