You could also use a lookup table to encode you linear 16bit data
Into any of your chosen format ... SetPixmap is taking so much
Time on my embeded system at large resolution ... Any idea
How to improve this ??