Hi Guys
I have some source RGB565 images converted to display on 24 bit platforms which look ok:
https://imgur.com/a/WlmNaVuBut it occurs to me I’m not quite correct. For Red & Blue channels the maximum value is 31, and for Green, 63.
None of these values are evenly divisible by 255, so I’ve just multiplied R&B by 8, and green by 4.
The maximum values for this scheme (as in the photo linked above) would then be 248 for Red & Blue, and 252 for Green.
Without floating point math (which would be easy), how are you supposed to do this conversion?
Images looks ok, but I suspect I’m leaving something out because a plain white image would be slightly green, etc.
Cheers.