View Full Version : Imagemagick (Windows)

01-01-2006, 06:26 AM
Could someone provide me with a post on how I can get Imagemagick working with php?

I've seen plenty of sites related to Linux but unfortunately I'm on a Windows box.

Do I have to register a specific dll and edit my php.ini or is there something else I need to do to start working with the Imagemagick api?


01-01-2006, 01:22 PM
depends how you want to work with it, there is a PECL imagick extension that you can download from pecl.php.net , or you can download the imagemagick binaries and use them via exec().

Personally I prefer to use the binaries and exec(), grab the imagemagick binaries from http://www.imagemagick.org/script/download.php, there is an installer which sets up the PATH to imagemagick.

however I prefer to simply exec the path ... e.g.

exec('c:/imagemagick/bin/convert.exe c:/blah/image.jpg c:/blah/image.png');

I prefer this method since there is a already convert.exe as part of windows (which does something totally different altogether)

01-01-2006, 03:57 PM
Thanks firepages. That is exactly what I'm looking for.

I've never used or even read about 'exec' before but it looks perfect.

07-01-2009, 08:23 AM

Can you please tell me from where can i download the binary of imagemagick 4.2.8 or 5.*.* for windows.