Batch Image Resize in Ubuntu: Difference between revisions

From Open Source Ecology
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
=Howto=
=Howto=
Go into Terminal and change directory to folder with your pictures with whatever percentatge yuou need - here it is 25%:  
Go into Terminal and change directory to folder with your pictures with whatever percentage reduction yuou need - here it is 25%:  


mogrify -resize 50% *
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://bdhacker.wordpress.com/2011/01/04/resize-multiple-images-in-a-folder-batch-image-resize-in-ubuntu/


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

Revision as of 21:03, 7 October 2012

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