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 an API for Imagemagick built into php 5 and later. You can check your Imagick version by viewing the php.ini file or use this code:
$version = Imagick::getVersion(); echo 'API version number: '.$version['versionNumber'].'<br />'; echo 'API version string: '.$version['versionString'].'<br />';
In the following pages you can find some examples of how to use it by using the links on the left.
Some of the Imagick code may or may not work depending on the Imagick version as it is subject to change.
Here are some links to further information: