Thursday, September 03, 2009

How to resize or scale a list of images on linux

Here is a simple but powerful command when you got several images that you want to shrink:


mogrify -scale 50% *.jpg


This will reduce all the images by 50%


Or if you just want to reduce one image to 200x200 pixels for example:



convert -scale 200x200 image.jpg image_small.jpg

2 comments:

Anonymous said...
This comment has been removed by a blog administrator.
紀錄 said...
This comment has been removed by a blog administrator.