5. [optional] If not present already in your WAMP, download and extract PHP’s ImageMagick dependency files from http://windows.php.net/downloads/pecl/deps/, and into folder C:\WampDeveloper\Tools\ImageMagick\. Only extract the “\bin” files from the zip (and directly into the folder). This should match the environmental variable MAGICK_HOME=C:\WampDeveloper\Tools\ImageMagick set.

Afterwards, Imagick will be loaded by PHP and you can verify this via phpinfo.php…

5. Test imagick:

A. Create a scaled thumbnail image…

<?php
// if full path is not specified, will look for file in Apache's folder.
$im = new imagick('C:\WampDeveloper\Websites\www.example.com\webroot\imagick\pic.jpg');
// resize by 200 width and keep the ratio
$im->thumbnailImage(200, 0);
// if full path is not specified, file will end up in Apache's folder.
// write to disk
$im->writeImage('C:\WampDeveloper\Websites\www.example.com\webroot\imagick\pic_thumbnail.jpg');
echo 'Image Thumbnail Created.';
?>