Search found 2 matches

by henrique
2013-05-28T07:42:09-07:00
Forum: Users
Topic: [C++ API] Convert svg to png with transparent background
Replies: 2
Views: 7201

Re: [C++ API] Convert svg to png with transparent background

Thanks. This worked :) Just want to point out (in case anyone has the same problem) that the order in which you do things is important. I tried this solution specifying the PNG format first and then reading the SVG file (which is wrong). The correct order is as follows: Magick::Color c(0x0, 0x0, 0x0 ...
by henrique
2013-05-24T09:04:35-07:00
Forum: Users
Topic: [C++ API] Convert svg to png with transparent background
Replies: 2
Views: 7201

[C++ API] Convert svg to png with transparent background

Hi. I'm new to ImageMagick, and I've been trying to use the C++ API to convert an SVG file to a PNG. The problem is that the resulting PNG file's background always defaults to white. I've been searching for solutions for this, but all I find is the solution using the comand line convert -background ...