Page 1 of 1

Keypoint PngEncoder doesn't do alpha encoding

Posted: Thu Jul 26, 2007 6:01 pm
by rasman1978
Looking at the 1.0.10 source code, quickly shows that the parameter on the method with signature

Code: Select all

public byte[] pngEncode(boolean encodeAlpha)
is never used in the body of the method. There's also this encodeAlpha member variable that gets passed around, but it's never actually used in the body of the method that's doing the encoding.

Surely this was just overlooked?

Cheers,
Erik