MagickWand For PHP Installation Instructions: Windows

IMagick is a native PHP extension to create and modify images using the ImageMagick API. ImageMagick Studio LLC did not write nor does it maintain the IMagick extension, however, IMagick users are welcome to discuss the extension here.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: MagickWand For PHP Installation Instructions: Windows

Post by magick »

Your images displayed fine for us. We're using ImageMagick 6.3.4-10.
Jip

Re: MagickWand For PHP Installation Instructions: Windows

Post by Jip »

magick wrote:Your images displayed fine for us. We're using ImageMagick 6.3.4-10.
I need to convert ai files into other formats such as jpg, gif, png, eps using php. Ideally, I'd like to use the MagickWand for PHP interface to perform these conversions, but the current version will not convert the ai files. Please advise.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: MagickWand For PHP Installation Instructions: Windows

Post by magick »

Converting AI images requires Ghostscript. Is Ghostscript installed on your system? We're using Ghostscript 8.56.
xhenxhe

Re: MagickWand For PHP Installation Instructions: Windows

Post by xhenxhe »

Does anyone have those DLLs available since the links are no longer valid?
adamUK

Re: MagickWand For PHP Installation Instructions: Windows

Post by adamUK »

I found the dll in a bittorrent site but have put it here -> http://www.ax-ea.co.uk/magickwand/readme.htm

cheers

Adam.
ImOk

Re: MagickWand For PHP Installation Instructions: Windows

Post by ImOk »

Does anyone have the exact instrutions ofr using ImageMagick under Windows XP? Im stuck and will give up and use some other language for the project.

I tried everything and cant seem to get it to work. Its also confusing. Which php DLL is needed? All I am trying to do is shrink GIF files. I can do that using "convert" from the command line but would like to do this from PHP.

I installed ImageMagick in C:\ImageMagick16 and tested it with convert.

Here is my INI file with both DLLs in my ..\ext folder

extension=php_imagick.dll
extension=php_magickwand_Q16_st.dll

The path is: PATH=c:\imagemagick16;.......

Here is the sample source code to just create an instance of the image file.
<?php
echo 'hello';
$image=new Imagick('0009173809CF.GIF');
?>

Crashes with the following error when I run it using the command php-cgi shrink.php

The procedure entry point DrawDestroyContext could not be located in the dynamic link library CORE_RL_magick_.dll.

PHP Warning: PHP Startup: Unable to load dynamic library 'C:\PHP5\ext\php_imagi
ck.dll' - The specified procedure could not be found.
in Unknown on line 0
PHP Fatal error: Class 'Imagick' not found in C:\xxxxx\Shrink\shrink.php on
line 3
PHP Stack trace:
PHP 1. {main}() C:\xxxxx\Shrink\shrink.php:0
X-Powered-By: PHP/5.2.5
Set-Cookie: PHPSESSID=b3hg3d0r3kb5pud4fjplqfqob1; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-type: text/html
QooooQ

Re: MagickWand For PHP Installation Instructions: Windows

Post by QooooQ »

I wanted to play around with MagickSetImageAlphaChannel but its not included in the 1.0.5 (i guess?!) and this is the only dll-version I can find

So I came back here looking for 1.0.6 or 1.0.7
Hope you can help

Thanks
Post Reply