BMP format?

27 Nov 2018

I tried this demo program https://os.mbed.com/users/pierrebizouard/code/DISCO-F429ZI_LCDTS_demo_richard/ and was able to display the image/logo.

I understand that if I have my own image file, I have to convert it to a C array for display.

I've been unsuccessful in my attempts to convert an image to a C array using various software found on the web.

What are the right parameters to convert a BMP image for display in the LCD? For example, in the software there are options for

monochrome, Color A8R8G8B8, Color R4G5B4, Color R5G6B5, Color R8G8B8, Grayscale4, Grayscale8, Monochrome Byte order Little-Endian, Big Endian