[SOLVED] RGBA issues with Draw(text)

Magick++ is an object-oriented C++ interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning Magick++.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: RGBA issues with Draw(text)

Post 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.
olear
Posts: 58
Joined: 2015-05-24T10:56:42-07:00
Authentication code: 6789

Re: RGBA issues with Draw(text)

Post 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.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: RGBA issues with Draw(text)

Post 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.
olear
Posts: 58
Joined: 2015-05-24T10:56:42-07:00
Authentication code: 6789

Re: RGBA issues with Draw(text)

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