Batch Image Resize in Linux

Previously I have posted about batch image resizing, in Windows, using a Window tool, Portable Batch Image Resizer. Currently now I’m using Fedora, and I need a tool to automatically resize all my images for uploading.

I found an article telling how to do this. I moved my pictures, to a temporary folder, in case I misresize it 🙂

mogrify -resize 800 *.JPG

The command will resize all file with extension JPG in that particular folder to 800px width and keep the image aspect ratio. You can also change it or put it with exclamation mark, to resize it to that particular size.

mogrify -resize 320×240! *.JPG

mogrify is tool comes with ImageMagic. Install ImageMagic, and you’re ready to go.