-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
fix compilation when imagemagick is v7 #12493
Conversation
|
||
preg_match("/ImageMagick ([0-9]+\.[0-9]+\.[0-9]+)/", imagickVersion["versionString"], imagickVersion); | ||
|
||
if version_compare(imagickVersion[1], '7') < 0 { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'7'
-> "7"
Also could you please update |
will squash this one after that
why not use method_exists? |
well i might have to cuz preg_match might be broken in php5 ( for zephir ) , but if I use method exists , if they change that shit again in imagick 8 the code will look funny xD am at work atm so i dont have much time i will check it tonight to find a good looking work around |
@Izopi4a Well, as you can see tests fails |
i will fix windows build these days because i need to dig into that |
|
…halcon into imagemagick-7-support
Fixed in the |
Hello!
when image magick version is 7 compilation fails
Imagick/imagick#180