[opensource-dev] Review Request: VWR-24420: PNG images which specify "background color" lose alpha layer when imported.
Thickbrick Sleaford
thickbrick.sleaford at gmail.com
Sun Jan 9 06:59:17 PST 2011
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://codereview.secondlife.com/r/74/
-----------------------------------------------------------
Review request for Viewer.
Summary
-------
Current code composites RGBA PNG images that contain a bKGD chunk down to RGB, discarding the alpha channel. This patch removes that code, since it contradicts purpose of the bKGD chunk as described in the PNG spec and as commonly used.
This addresses bug VWR-24420.
http://jira.secondlife.com/browse/VWR-24420
Diffs
-----
doc/contributions.txt UNKNOWN
indra/llimage/llpngwrapper.h UNKNOWN
indra/llimage/llpngwrapper.cpp UNKNOWN
Diff: http://codereview.secondlife.com/r/74/diff
Testing
-------
Tested uploading the 2 images attached to VWR-24420 with and without the patch. Before patch, "bad alpha.png" was uploaded as RGB, after patch, both images were uploaded as RGBA.
Thanks,
Thickbrick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.secondlife.com/pipermail/opensource-dev/attachments/20110109/1a3aba81/attachment.htm
More information about the opensource-dev
mailing list