Hello,
We are running a server with imagemagick 6.7.x
I was trying to upgrade to the latest versions of imagemagick.
But from 6.8.x and higher we have some serious issues with masking, see my screenshot:
We are using imagick (php) and the function:
$png->compositeImage($mask, Imagick::COMPOSITE_DSTIN, round($maskx), round($masky));
Imagemagick versions different output
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Imagemagick versions different output
I'm not aware of bugs in masking for recent versions of IM. Nor do I know PHP.
For someone to look at the issue, you need to provide input images and code that reproduces the problem.
For someone to look at the issue, you need to provide input images and code that reproduces the problem.
snibgo's IM pages: im.snibgo.com
Re: Imagemagick versions different output
Hello snibgo,
I will try to gather as much test information possible and will update this post.
I will try to gather as much test information possible and will update this post.
Re: Imagemagick versions different output
It would be helpful if you could also provide us with a command line version of your PHP code so we can reproduce this much easier.
Re: Imagemagick versions different output
Sorry for the late reply.
My issues where solved by using using rsvg. I wasn't aware of the fact that this would make such a difference.
I found some comment on the Internet: Utilize inkscape if it is in your execution path otherwise RSVG. If neither is available, revert to the internal SVG renderer.
So with my testcase the internal SVG renderer was used.
After installing rsvg and compiling imagick with (--with-rsvg=yes) everything is working fine
My issues where solved by using using rsvg. I wasn't aware of the fact that this would make such a difference.
I found some comment on the Internet: Utilize inkscape if it is in your execution path otherwise RSVG. If neither is available, revert to the internal SVG renderer.
So with my testcase the internal SVG renderer was used.
After installing rsvg and compiling imagick with (--with-rsvg=yes) everything is working fine