Batch Image Resize in Ubuntu

From Open Source Ecology
Revision as of 21:03, 7 October 2012 by Marcin (talk | contribs)
Jump to navigation Jump to search

Intro

This is useful for documentation purposes.

Howto

Go into Terminal and change directory to folder with your pictures with whatever percentage reduction yuou need - here it is 25%:

mogrify -resize 25% *

To switch to another format - jpg may be replaced with other formats.

mogrify -resize 50% -format jpg *

Links

http://bdhacker.wordpress.com/2011/01/04/resize-multiple-images-in-a-folder-batch-image-resize-in-ubuntu/

http://www.imagemagick.org/Usage/basics/#mogrify