StackCP's PHP now includes the Imagick extension. It lets you manipulate images using PHP.
More details can be found on the PHP site: Imagick.