I tried to use BMPConverter from Circle-OS-4.61 BMPTOLCD folder. But my project does not compile with the .h file, received after conversion. I tried also to convert original t1x.bmp file from downloaded DMA2D-TR-1.0 example. The result was the same Whereas with the original file t1x.h from the same DMA2D-TR-1.0 folder all works OK. Help the beginner please!
Download DMA2D-Demo_1.0 project and use the file bin2h.exe found in the folder image/foreground to convert bitmap. Maybe remove header in output file (depending the include methode in your source file).
The BMPTOLCD was developed for first LCD primers, as raw data in RGB565 format.
The BMP Converter that told Etienne allows to convert BMP files (RLE compressed or not) into format compatible with current "normal" API functions (DRAW_SetImage...), in order to display bitmaps or icons on the LCD, with also 16 bits RGB565 format.
But, for DMA2D functions, the bitmap file must be taken "as is", with no conversion. So, the simplest way is to use the bin2hex tool as Pierre said.
Note that the supported format are: 4, 8, 16 (RGB565 format), and 32bits (A888 format) color length, with or without color palette.
You can get a useful tool here pngtobmp32.codeplex.com for converting png images to 32 bits bmp, which support transparency.