| Project: | ProjectPier |
| Version: | 0.8.0.3 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | phpfreak |
| Status: | closed - fixed |
Description
I noticed that when I uploaded a PNG for a company logo that had transparency, the transparency would be replaced by a solid dark color. Not cool.
This patch solves the transparency issue with the PNGs.
This patch is more precisely in line with the coding standards. (A couple tabs snuck into the last one).
thx - can someone test this ?
Patch doesn't fail on current trunk but the bug persists. A transparent PNG still results in a black image.
Doesn't follow code standards but can easily be corrected.
Fixed in 0.8.6 for 32 and 64 bit RGBA PNG (rgb*) with or without background color. 8 bit PNG (pal) works partially. Test images came from this site :
http://entropymine.com/jason/testbed/pngtrans/
and are also attached.