imagemagick under xampp 1.7.4

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
Posts: 1
Joined: 2011-09-07T08:36:31-07:00
Authentication code: 8675308

imagemagick under xampp 1.7.4

Post by honkytonky » 2011-09-07T09:33:10-07:00

hi there,

can anybody tell me how to install imagemagick under xampp for windows?


Posts: 2961
Joined: 2006-05-20T08:08:19-07:00
Location: Cambridge, England

Re: imagemagick under xampp 1.7.4

Post by Bonzo » 2011-09-07T11:22:41-07:00

Was quite straight forward when I did it.
Download and install XAMPP

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

Post Reply