cancel
Showing results for 
Search instead for 
Did you mean: 

STM32303E-Eval board TFT LCD. I want to display a picture to the LCD display but it does not display anything using bsp_lcd_drawbitmap() function.

CJaid.1
Associate II

I am being able to convert the image to header file for c but the header file also needs the starting headers as seen in the stlogo file in examples.

Before the 0xff data of the logo is the information about the size and etc but using the online softwares and tools i am able to generate only the image data part and it misses out on the first few hex bytes of data. How can i get it ?

Is there any other way to display image on LCD ?


_legacyfs_online_stmicro_images_0693W00000bklpfQAA.png

1 REPLY 1
KDJEM.1
ST Employee

Hello @CJaid.1​ ,

The user must convert images to C files respecting the configured pixel input format described in Pixel input format. Some tools may generate C or *.h files with Red and Blue colors swapped. To avoid this issue, the LCD image converter tool can be used.

An LCD image converter example is described in AN4861 Section 6.2.5: Display an image from the internal flash.

When your question is answered, please close this topic by choosing Select as Best. This will help other users find that answer faster.

Thank you

Kaouthar

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.