Archive for February 15th, 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. […]