php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #68345 Some delegate DLL's not working
Submitted: 2014-11-05 01:30 UTC Modified: 2014-11-05 07:51 UTC
From: ram at fikus dot net Assigned:
Status: Not a bug Package: imagick (PECL)
PHP Version: 5.6.2 OS: Windows
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: ram at fikus dot net
New email:
PHP Version: OS:

 

 [2014-11-05 01:30 UTC] ram at fikus dot net
Description:
------------
I've installed ImageMagick 6.8.9 on Windows 64x (threaded) with PHP 5.6.2. I also installed the 5.6 Thread Safe (TS) x64 version from http://pecl.php.net/package/imagick/3.1.2/windows. After putting the DLL's in the "right" places and configuring the environment variables some things work and some don't. For example:

- The ImageMagick commands work fine.

- The "convert -list configure" command reports:
Name           Value
-------------------------------------------------------------------------------
CC             vs10
COPYRIGHT      Copyright (C) 1999-2014 ImageMagick Studio LLC
DELEGATES      bzlib freetype jpeg jp2 lcms png tiff x11 xml wmf zlib
FEATURES       OpenMP
HOST           Windows
LIB_VERSION    0x689
LIB_VERSION_NUMBER 6,8,9,10
NAME           ImageMagick
RELEASE_DATE   2014-11-15
VERSION        6.8.9
WEBSITE        http://www.imagemagick.org

- The imdisplay program works fine with all installed formats.

- The $imagine->open function in PHP works fine for a gif file.

- For some other formats, such as JPEG and PNG, the exact same code returns an exception:
Fatal error: Uncaught exception 'ImagickException' with message 'UnableToLoadModule `C:\Program Files\ImageMagick-6.8.9-Q16\modules\coders\IM_MOD_RL_JPEG_.dll



Test script:
---------------
<?php

require 'vendor/autoload.php';

$imagine = new Imagine\Imagick\Imagine();

// same image generated as gif, jpg and png - gif works, jpg and png fail
$image = $imagine->open('xxx.jpg');



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2014-11-05 07:51 UTC] ab@php.net
-Status: Open +Status: Not a bug
 [2014-11-05 07:51 UTC] ab@php.net
Please use the ImageMagick builds from http://windows.php.net/downloads/pecl/deps/ . Mixing modules with different CRT usually leads to errors. You should also ensure the plugin DLLs are on the path.

Thanks
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Mon Jul 07 09:01:33 2025 UTC