Installation notes - XAMPP:

Download and install XAMPP

Download and install ImageMagick.

  1. Start XAMPP
  2. Run this code in your browser to prove it is installed and working.
    ("Content-Type: text/plain"); 
    system("convert -version"); 
  3. Use the code like this and run it in your browser:
    ("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.