Search the Community
Showing results for tags 'imagick'.
Hi, I thought that I would post this as it may be of help to anyone using the Imagick DLL in PHP to access Image Magick functions. In case you are not aware, Image Magick is very function-rich and terrific open source software for image manipulations. My use of it is extremely basic, just to resize jpg images. About a year ago I came across the php imagemagick dll (filename is php_imagick.dll and installed it without any problems. At the time I already had Image Magick installed on my PC. To my delight, I managed to get my resizing to work just fine (previously I had been using the PHP GD library functions). A week or so ago I installed the latest version of Image Magick on my PC. To my horror the PHP functionality stopped working. After some Googling I discovered that your php imagick dll has to align version-wise with your installed Image Magick. So I tried to find the latest php dll but although I found a reasonably current dll it was incompatible with my newly installed Image Magick package. I could not find out how to ascertain the version alignment of the php dll though it is clear what the version number of the Image Magick PC package is. My installation last year was just luck!! I eventually found a more current php imagick dll 'buried' inside the PECL Imagick zip file (available from the web) but it too was not version-aligned with my new Image Magick installation. Luckily I still had the 'old' Image Magick install exe so I uninstalled the new Image Magick and then re-installed the old version and now everything works OK again. One is tempted to comment 'traps for young players' but as I don't qualify for the 'young' tag, I will say that it is 'traps for inexperienced players':-) Cheers from Oz.