You need to install imagemagick. Here is a tutorial on how to use it:www.ibm.com/developerworks/linux/library/l-graf/I have not used it,not being a CLI fan.