Batch resizing of photos in Linux
I used to use a Windows program called PixResizer for batch resizing photos:
http://bluefive.pair.com/pixresizer.htm It is excellent software and does the job perfectly in seconds. However, I have had so many problems with W7 updates that I have now scrapped Windows totally. There is only a certain amount of "Preparing To Configure Windows. Please Do Not Turn Off Your Computer" that anybody can take. I would like to find an easy way of batch resizing photos in Linux. Let's say that I have a folder called FALCONS which contains 100 photos. Each photo is a .jpg at 3072 X 2304. I would like to resize every photo in a single operation, using the command line, to 600 pixels wide, whilst keeping the same aspect ratio. I would like to put the resized photos in a new folder called FALCONS_R600. Any suggestions? |
I have used a perl script I found online to batch re-size/annotate folders of pictures. I think the script called the 'convert' function of ImageMagick but I'm not sure. I don't have access to it right now but that will give you a good starting point for a search.
Edit: by the way I think there are extensions for Gimp on Windows to do the same thing. I've used Gimp 2.8 on Win10 to re-size a single photo but I haven't tried to do multiples. |
I used scripts from here: http://kimbriggs.com/computers/compu...ipulation.file
You may have to modify them to suit your purpose. |
mogrify
Here is a little how-to resize digital images.
Quote:
|
ImageMagick is a nice package for doing all sorts of image manipulation tasks. And it supports batch operations from the commandline.
|
Many thanks to all who responded.
I will mark this as SOLVED. @camorri, Code:
sudo apt-get install imagemagick I also found this useful link: http://www.greplinux.net/2012/08/mog...le-images.html |
Converseen is another gui batch image converter and resizer.
|
I can also recommend GraphicsMagick; avail from the EPEL repo and http://www.graphicsmagick.org/
|
All times are GMT -5. The time now is 10:04 AM. |