This is getting far too geeky
The only thing I could think of was bad handling of signed/signed bytes. Then you get wraparound/overflow at 127. Java did it to me a lot when I ported a bunch of my old c/c++ code (the bastard, *shakes fist*).
[edit] Using the luminance algorithm, 173 * 0.72 is 124(ish), which is pretty close to the boundary.
[editedit] Except 0.72 is the factor for the green channel. Fucksocks!
( ,
Wed 1 Feb 2012, 0:40,
archived)
[edit] Using the luminance algorithm, 173 * 0.72 is 124(ish), which is pretty close to the boundary.
[editedit] Except 0.72 is the factor for the green channel. Fucksocks!