THESE CODES ARE PROVIDED FOR AN EXAMPLE OF HOW TO USE IMAGEMAGICK WITH PHP. CARE SHOULD BE TAKEN WHEN ACCEPTING USER INPUT.
I TAKE NO RESPONSABILTY FOR ANY PROBLEMS THAT MAY OCCURE WHEN USING ANY OF THIS CODE.
IT IS UP TO YOU TO SECURE THE CODE AND VALIDATE USER INPUT.
Imagick is a native php extension to create and modify images using the ImageMagick API.
The name causes some confusion as people think that ImageMagick and Imagick are the same thing. You can use ImageMagick without Imagick but you need both Imagick and ImageMagick installed to run it.
Imagic is not supported very well and is still undergoing changes - what works in one version may not work in another - and I am not sure it has been updated for a couple of years.
Here are some links to further information: