2023-05-24 05:36 AM - edited 2023-11-20 04:43 AM
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 ?
2023-05-25 08:37 AM
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.