Search found 2 matches

by flavio
2014-12-02T08:51:15-07:00
Forum: Magick++
Topic: Reading SVG image with transparent background
Replies: 2
Views: 15570

Re: Reading SVG image with transparent background

I don't know the answer for Magick++.

At the command level, the answer is to set "-background None" before reading the SVG.

You have found the solution!
I tried to set the backgroundColor BEFORE the READ of the SVG, using the string "None"... and it worked well.

The solved code:


using ...
by flavio
2014-12-02T08:12:29-07:00
Forum: Magick++
Topic: Reading SVG image with transparent background
Replies: 2
Views: 15570

Reading SVG image with transparent background

Hello,

this is my first post and I hope I can find the solution to my problem.

I have an SVG file with a transparent background and I try to compose it with another file (the background).
I use Image.read("file.svg"), then I compose it with the Image background and finally write to a jpeg file ...