Page 1 of 1
Imagemagick versions different output
Posted: 2015-07-06T05:02:55-07:00
by niels
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));
Re: Imagemagick versions different output
Posted: 2015-07-06T06:41:07-07:00
by snibgo
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.
Re: Imagemagick versions different output
Posted: 2015-07-13T06:39:42-07:00
by niels
Hello snibgo,
I will try to gather as much test information possible and will update this post.
Re: Imagemagick versions different output
Posted: 2015-07-13T06:50:29-07:00
by dlemstra
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
Posted: 2015-07-22T02:24:40-07:00
by niels
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