Search found 4 matches

by dmaciejak
2014-03-05T07:23:42-07:00
Forum: MagickWand
Topic: Transparent SVG part rendered as white background
Replies: 1
Views: 12123

Re: Transparent SVG part rendered as white background

MagickSetBackgroundColor() has to be called before the MagickReadImage()
by dmaciejak
2014-03-05T07:22:24-07:00
Forum: Bugs
Topic: Transparent SVG part rendered as white background
Replies: 2
Views: 4703

Re: Transparent SVG part rendered as white background

i was trying with RSVG and inkscape delegates.
I just updated the code as you suggested to move the

PixelSetColor(bg_wand, "none");
MagickSetBackgroundColor(m_wand, bg_wand);

before the MagickReadImage function call, and it works.

Thank you !
by dmaciejak
2014-03-05T05:42:16-07:00
Forum: Bugs
Topic: Transparent SVG part rendered as white background
Replies: 2
Views: 4703

Transparent SVG part rendered as white background

Hi,

i reported an entry in the MagickWand section at viewtopic.php?f=6&t=25141
but the more i test the more i believe it may be a bug in the coders/svg.c

regards,
david
by dmaciejak
2014-03-04T08:07:18-07:00
Forum: MagickWand
Topic: Transparent SVG part rendered as white background
Replies: 1
Views: 12123

Transparent SVG part rendered as white background

Hi, I am trying to read SVG images using ImageMagick (6.8.8-7) and get valid transparent pixels. The code below is working well with PNG format, but for SVG i can only have some white background. So i tried to add MagickSetBackgroundColor, and MagickSetImageBackgroundColor with some merging layers ...