For those of you still loading your digital camera’s images into micro$oft’s paint program or paying $$$ for something just to shrink the size and quality to get normal file sizes that display easily and upload faster to your favorite photo sites:
Do it in 3 seconds in cygwin, andlinux, or native linux!!!
find . -maxdepth 1 -iname “*.jpg” | xargs -i convert -resize 65% -quality 85 {} ~/{}
Viola, you’ll find them all in your home directory if you ran this in the directory where your images were… If you’re taking the highest resolution photos with your 10+ megapixel camera, you’ll want to throw away most of that garbage, so 65% size reduction probably won’t cut it. Play with the values and see how it looks…
Try a bunch of different quality settings. I found anything below 80% was noticable for big photos, but thumbnails could go much lower without immediately obvious distortion.
for x in 1 2 3 4 5 6 7 8 9; do convert -resize 50% -quality $x0 original.jpg quality_$x0.jpg; done
Now try “eog quality*.jpg” to cycle through the results real quick and you should notice the image distortion changing like a flipbook.