There is a really good article on the Image Magick CLI tools for manipulating images @ http://www-106.ibm.com/developerworks/linux/library/l-graf/?ca=dgr-lnxw04ImageMagick