ImageMagick Magic!

I enjoy using ImageMagick… most of it has been via PHP CLI, however here we have a short example in Bash:

#!/bin/bash
for file in `ls -d *.png` ; do
        convert -crop 1280X985+0+24 $file $(basename $file .png).jpg;
done

Basically this does the following:

This entry was posted on Wednesday, June 11th, 2008 at 9:21 pm. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a Reply