pecl-imagick is a native php extension to create and modify images using the ImageMagick API. Documentation is available online at: http://php.net/imagick/