-
Notifications
You must be signed in to change notification settings - Fork 529
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
applyMask() fix in Gd/Image #708
Conversation
I’m not sure if this fix is correct. I think Did you try to use |
@ausi yes I did without success. The fix makes imagine work consistently with both GD and Imagick drivers. We are using this fix in production since April without any issues. |
Is it possible to have a test case that covers what this PR is fixing? |
It probably is, will look into it. |
Done. I don't have gmagick installed, but GD and Imagick produce identical results after the fix. |
Maybe it's about time someone merges this? |
After more than 2 years since the pull request was created, I also think someone should either merge or close this. |
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.
Tested this pull request locally and all worked correctly.
In the old code ->dissolve(…)
could have never ended up with a negative value and therefore could never have masked anything.
Thanks for reviewing this PR, @ausi ! |
@mlocati thank you! is it possible to release a new version of Imagine wit this fix any time soon? |
@chekalsky I'd publish a new version after tests have been fixed (I'd move them to GitHub Actions) |
Created applyMask() fix for #460