This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Image viewer demo - picture format

Hello,

In the image viewer demo that comes with the OMAP3EVM Linux PSP, it uses framebuffer to display the images (IMAGENN.R16). Does anyone know which format (RGB or sth else) this R16 image file is stored? Its size is (unsigned char*) X_RES*Y_RES *(BITS_PER_PIXEL/NUM_BITS_PER_BYTE), which actually is X_RES*Y_RES*2 uchar array. How can I convert a jpeg or a bmp into this format?

Thank you.