The conversion from float to char (byte) was not correct. It should include the possibility for colors like 0.999999 to become 255 still. The correct multiplication factor I don't know though... and this should become a system wide definition!
The conversion from float to char (byte) was not correct. It should include the possibility for colors like 0.999999 to become 255 still. The correct multiplication factor I don't know though... and this should become a system wide definition!