Tuesday, November 12, 2013

Runtime Loaded .PNG files cannot have a color channel value of 255(FF)

I have no clue why this is. 
But if I use the loader class, values that are 255 turn to 254.
So a white pixel in an image goes from:
0xFFFFFF
to
0xFeFeFe

Solution:
I have cleanup code for when the bitmap is supposed to represent a very strict, clampped color pallet...
But I just found this... I am hoping it's results will be better than Flash's.

http://www.ionsden.com/article/png-decoder-actionscript-3

No comments:

Post a Comment