Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

share|improve this question

1 Answer 1

up vote 8 down vote accepted

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.

share|improve this answer
    
hi. thanks a lot... it was inkscape svg... it worked very good... –  Shan Apr 19 '11 at 20:29
1  
Yes, but this is not realy intuitiv implemented, there is no button for it. Normally the export dialog have give this option too. –  user108043 Dec 4 '11 at 1:09
    
This helped me today. I appreciate it! +1 –  JW. Aug 22 '13 at 5:27

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.