Linux Image Resize
Philip Gasser | 24/05/2010I like to have all original sized images, but to share they’re just too large. So here’s a quick tutorial how to batch resize and compress your images with a shell one-liner:
- Install ImageMagick with something like:
sudo apt-get install imagemagick
- Copy all the images you want to resize to a folder (keep the original one’s)
- Resize and compress all Images with:
mogrify -scale 50% -compress JPEG -quality 70 *.JPG
Mogrify is very powerfull. You can find a list of all supported options here.





