[SOLVED] RGBA issues with Draw(text)
Re: RGBA issues with Draw(text)
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)
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.
EDIT: also on solid background, that didn't happen earlier.
Re: RGBA issues with Draw(text)
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)
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)"));
Magick::Image image(Magick::Geometry(width,height),Magick::Color("rgba(0,0,0,1)"));
ArcDistort with image.virtualPixelMethod(Magick::TransparentVirtualPixelMethod);
ArcDistort with image.virtualPixelMethod(Magick::BlackVirtualPixelMethod);
Magick::Image image(Magick::Geometry(width,height),Magick::Color("rgba(0,0,0,0)"));
Magick::Image image(Magick::Geometry(width,height),Magick::Color("rgba(0,0,0,1)"));
ArcDistort with image.virtualPixelMethod(Magick::TransparentVirtualPixelMethod);
ArcDistort with image.virtualPixelMethod(Magick::BlackVirtualPixelMethod);