Replies: 3 comments 5 replies
-
Interesting. I've run svg2pdf on your sample file and it produces the one big oversaturated image. Then I've extracted/decoded the embedded two PNG images and they both look normal. I first thought of gradients in the SVG but there seem to be no gradients. Can you experiment a bit more and remove various bits in the SVG and verify the effects with svglib? |
Beta Was this translation helpful? Give feedback.
-
I guess it should be related to PNG transparency poor handling by Reportlab. But it's really just a guess. |
Beta Was this translation helpful? Give feedback.
-
Did anybody else had a chance to have a look. I would love some not very hacky solution. For now splitting to two images and merging them seems the least hacky. |
Beta Was this translation helpful? Give feedback.
-
Hey All,
I spent a day trying to get below SVG converted to PNG
I used this code and some other variations (tried write as PNG directly too):
This is what I end up with
Is there something wrong with this SVG? I tried Wand like this:
Wand works in Windows but in Linux it draws rubbish:
I also tried rendering here and it works fine.
Beta Was this translation helpful? Give feedback.
All reactions