Archive for February, 2011

ImageMagick Trick

By scott - Last updated: Tuesday, February 15, 2011

Are your images taking up too much space on your server?  Don’t delete them, shrink them.  Here’s a little ImageMagick trick that worked perfectly for me. for img in `ls | grep -E IMG_[0-9]+{4}\.jpg` ; do convert $img -resize 50% $img ; done Disclaimer: If this borks your data, well, you should have tested first. […]