New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

versions IM and Imagick - question #144

Closed
tomkraw1 opened this Issue Mar 21, 2016 · 2 comments

Comments

Projects
None yet
2 participants
@tomkraw1
Copy link

tomkraw1 commented Mar 21, 2016

If I have such errors in my PHP error log file:
PHP Warning: Version warning: Imagick was compiled against Image Magick version 1681 but version 1683 is loaded. Imagick will run but may behave surprisingly
Difference seems to be small.

phpinfo() says that
Imagick compiled with ImageMagick version - ImageMagick 6.9.1-2 Q16 x64
Imagick using ImageMagick library version - ImageMagick 6.9.3-5 Q8 x64

Should I worry about version difference or shoulc I worry about quantum difference?
What version difference is rather safe?

@Danack

This comment has been minimized.

Copy link
Collaborator

Danack commented Mar 22, 2016

I only support properly compiled versions of Imagick. If it works for you then fine, if not then weird things like http://stackoverflow.com/questions/10709488/imagemagick-missing-decode-delegates might occur.

The dates the two versions you're using are from:

2016-02-20 6.9.3-5
2015-04-19 6.9.1-2

And the changes to the API can be seen in: http://abi-laboratory.pro/tracker/timeline/imagemagick/

However the biggest difference is that one was compiled with Q16, i.e. 16bits per pixel, the other was compiled with Q8 or 8 bits per pixel. That is likely to make Imagick think some data structures are different sizes.

If you want to get rid of the error message, you can just set imagick.skip_version_check=1 in your PHP ini file....I would however just recommend downloading ImageMagick + Imagick from the same place, with them compiled against each other. e.g. from

http://windows.php.net/downloads/pecl/deps/ and
http://windows.php.net/downloads/pecl/releases/imagick/

@Danack Danack closed this Mar 22, 2016

@tomkraw1

This comment has been minimized.

Copy link

tomkraw1 commented Mar 23, 2016

ImageMagick I downloaded from ImageMagick website and Imagick from http://pecl.php.net/package/imagick/3.4.1/windows so from the last given address.

I fixed quantum difference.

It looks all Imagick versions are Q16. Is it possible that Imagick will be compiled also with Q8?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment