I have an integer 4281644543
in javascript. This is an rgba
value that is actually reversed (ff34b5ff
but should be ffb534ff
) when I read it from a Uint32Array view of an ImageData buffer. I don't know why it comes in reversed.
what bitwise operations do I need to perform to get it into 0xffb534
(without the transparency)
thanks!