IMagick is a native PHP extension to create and modify images using the ImageMagick API. Documentation for the extension is available here.

phMagick is a wrapper class for ImageMagick, wrapping the most common web image manipulation actions in easy to use functions, but allowing full access to ImageMagick's power by issuing system calls to it's command-line programs.