Have a whole bunch of ultra-high resolution images to upload to your website, but you don't have time to individually scale them to a Web-appropriate size in the GIMP? Imagemagick and bash to the rescue:
for i in `ls *.jpg`; do convert -resize 50% -quality 70 $i scaled/$i; done…hey presto! That 9½MB file is now 50% smaller (in pixel dimensions) and a mere 750KB (in file size), and the same goes for the other hundred-or-so images in that directory.
Recent comments
12 weeks 3 days ago
16 weeks 2 days ago
18 weeks 13 hours ago
29 weeks 3 days ago
1 year 9 weeks ago
1 year 15 weeks ago
1 year 34 weeks ago
1 year 34 weeks ago
1 year 34 weeks ago
1 year 49 weeks ago