But that's using PB's own drawing commands. We don't know whether it subtracts away the whiteness.mskuma wrote:I could be wrong, but I think there's absolutely nothing wrong with the decoder - did you guys try the code I posted above & see netmaestro's result also? Using the 'defective' image, I could get the same result (i.e. alpha/transparency effects) as exhibited on the original web page (i.e. http://www.w3.org/Graphics/PNG/inline-alpha.html). [edit: Note that the alphatest.png image is from that page].
Actually, if you try this transparent png: http://www.libpng.org/pub/png/img_png/s ... l_rgba.png (Which works using my code!) Then you'll see that using YOUR code the colours are way too dark.
Can we get an official comment on this?


