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:
=Intro=
This is useful for documentation purposes.
=Howto=
=Howto=
Go into Terminal and change directory to folder with your pictures with whatever percentage reduction 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%:  
Line 13: Line 16:


http://www.imagemagick.org/Usage/basics/#mogrify
http://www.imagemagick.org/Usage/basics/#mogrify
[[Category:Documentation Process]]

Revision as of 21:03, 7 October 2012

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