Imagemagick versions different output

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
niels
Posts: 3
Joined: 2015-07-06T04:58:37-07:00
Authentication code: 1151

Imagemagick versions different output

Post 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:
Image

We are using imagick (php) and the function:
$png->compositeImage($mask, Imagick::COMPOSITE_DSTIN, round($maskx), round($masky));
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: Imagemagick versions different output

Post 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.
snibgo's IM pages: im.snibgo.com
niels
Posts: 3
Joined: 2015-07-06T04:58:37-07:00
Authentication code: 1151

Re: Imagemagick versions different output

Post by niels »

Hello snibgo,

I will try to gather as much test information possible and will update this post.
User avatar
dlemstra
Posts: 1570
Joined: 2013-05-04T15:28:54-07:00
Authentication code: 6789
Contact:

Re: Imagemagick versions different output

Post 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.
.NET + ImageMagick = Magick.NET https://github.com/dlemstra/Magick.NET, @MagickNET, Donate
niels
Posts: 3
Joined: 2015-07-06T04:58:37-07:00
Authentication code: 1151

Re: Imagemagick versions different output

Post 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
Post Reply