Page 2 of 2

Re: RGBA issues with Draw(text)

Posted: 2015-06-03T08:29:41-07:00
by magick
Grab the latest ImageMagick 6.9.1-5 Beta. This works for our various compositing unit tests but will it resolve some or all of the problems you are having? Over-blending is enabled and required otherwise we get black lines around graphic primitives such as circles and when we render text.

Re: RGBA issues with Draw(text)

Posted: 2015-06-07T13:41:23-07:00
by olear
Tried 6.9.1-5 beta 20150603-20150607, no change since 6.9.1-4. Drawing text or using Arc etc still produces jagged edges on transparent background.

EDIT: also on solid background, that didn't happen earlier.

Re: RGBA issues with Draw(text)

Posted: 2015-06-07T17:39:42-07:00
by magick
We reviewed the code carefully and fired upwards of 20 unit tests @ the compositing and drawing components of ImageMagick and they all return expected results. Unless you can provide a command-line or short C or C++ program we can use to reproduce the problem, we will be unable to resolve this issue.

Re: RGBA issues with Draw(text)

Posted: 2015-08-28T19:52:44-07:00
by olear
6.9.2-0 now has proper text/draw if black background, but without it I still get problems ... At least there are some progress :)

Magick::Image image(Magick::Geometry(width,height),Magick::Color("rgba(0,0,0,0)"));
Image

Magick::Image image(Magick::Geometry(width,height),Magick::Color("rgba(0,0,0,1)"));
Image

ArcDistort with image.virtualPixelMethod(Magick::TransparentVirtualPixelMethod);
Image

ArcDistort with image.virtualPixelMethod(Magick::BlackVirtualPixelMethod);
Image