Installation notes - XAMPP:
Download and install XAMPP
Download and install ImageMagick.
<?php
header("Content-Type: text/plain");
system("convert -version");
?>
<?php
exec("convert input.jpg -thumbnail 100x100 output.jpg");
?>
Note: You will need to use " not ' when using draw or annotate as this is a windows installation. The " will need escaping if you are writing the code like exec("convert ......
localhost must be running for the code to work.