Wrong RGB values for white pixels
ilCosmico opened this issue · comments
Hi @jamescryer ,
The ImageData of the attached "full-white" bitmap gives all the pixels with RGB values equal to 254 instead of 255
Any ideas?
Could be anything from OS, browser to the Image editor you used. But the problem is unlikely to be caused by the JS library.
It sounds strange to me too, but I tried to read the image in C# and it gets 255...I tried to open it with Paint in Windows and still it gets 255... only with JS it seems to get 254.