22
2
I am using export in 'Inkscape' to convert an SVG file to PNG. As I am using a transparent background, the colour of background is automatically set to yellow. I want to change this default colour to white. How can I do this?
22
2
I am using export in 'Inkscape' to convert an SVG file to PNG. As I am using a transparent background, the colour of background is automatically set to yellow. I want to change this default colour to white. How can I do this?
34
At least for documents created directly in Inkscape, File > Export Bitmap... works as expected. If the document has transparent background, the exported PNG becomes transparent. If it was white, then PNG becomes white.
Please check File > Document Properties > Page > Background and check the aplpha channel (A). On RGB tab set all values to 255, including A.
Checked using Inkscape 0.47 on Ubuntu Linux 10.04.
If your problem happens only on convertion of SVG files created elswhere (not in Inkscape), then you need to post that file, so we can try it out.
0
i solved this problem by choosing File -> Export PNG Image and then "Page" as export option. Also I chose File -> Document Properties -> Background Color -> R: 255 G: 255 B: 255 A:0
and then exporting.
"A" should be 255, not 0 – Serge – 2018-09-19T12:48:05.743
hi. thanks a lot... it was inkscape svg... it worked very good... – Shan – 2011-04-19T20:29:18.070
1Yes, but this is not realy intuitiv implemented, there is no button for it. Normally the export dialog have give this option too. – None – 2011-12-04T01:09:41.390
This helped me today. I appreciate it! +1 – JW. – 2013-08-22T05:27:04.290