PNG exporter removes colour channels if alpha is zero.
Bug #1713146 reported by
Bram Stolk
This bug report is a duplicate of:
Bug #1430716: Bug with export-background color if opacity=0.
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
New
|
Undecided
|
Unassigned |
Bug Description
I have a document with a *white* background and alpha 0. (fully transparent.)
During the PNG export, inkscape even reports these background pixel values correctly:
Exporting only object with id="mous_1"; all other objects hidden
DPI: 45
Background RRGGBBAA: e6e6e600
Area 0:0:320:320 exported to 160 x 160 pixels (45 dpi)
Bitmap saved as: mous_1.png
Yet, the resulting PNG image has all the background pixels set to 0,0,0,0 and not e6,e6,e6,0.
(Verified with imagemagick seperate.)
Why are the RG and B channels reset to 0 if the alpha is zero?
The background colour information should be preserved in the PNG, not thrown away for alpha 0 pixels.
To post a comment you must log in.
Forgot to mention, this is on Ubuntu: Inkscape 0.91 r13725