Tuesday, October 14, 2008

Imagemagick to rezise batch pictures

Load up imagemagick:

sudo apt-get install imagemagick


Graces large (3.0mb-ish) files go to 800x600 and around 100kb with this command:


convert -resize '800x600' -quality 50 *.JPG websize.jpg


The convert program requires a destination image file name whereas mogriy does not

mogrify replaces instead of duplicates the files

No comments: