Important: posts that do not use this template will be ignored or closed.
Before posting
- Get familiar with Markdown to format and structure your post
- Be sure to update lvgl from the latest version from the
master
branch.- Be sure you have checked the relevant part of the documentation. We will not respond in detail to posts where you haven’t read the relevant documentation.
- If applicable use the Simulator to eliminate hardware related issues.
Delete this section if you read and applied the mentioned points.
Description
As shown in the video, I click the button to open the menu interface, which is made up of a PNG image as the full-screen background and several other small PNG images as the buttons. Yes, I have added libraries to support opening PNG images, but when I click the button to enter the menu, the whole UI displays very slowly, which takes about a second to display.
Also, if I remove the PNG image from the background, it will be fast when I click the menu button!
So I want to know how to display a full screen PNG image quickly, or what is the reason for the slow display?
What MCU/Processor/Board and compiler are you using?
What LVGL version are you using?
7.4.2
What do you want to achieve?
Quickly displays a full-screen PNG image
What have you tried so far?
At present do not know how to solve
Code to reproduce
Add a code snippet which can run in the simulator. It should contain only the relevant code that compiles without errors when separated from your main code base.
The code block(s) should be formatted like:
/*You code here*/
Screenshot and/or video
If possible, add screenshots and/or videos about the current state.
video.zip (771.8 KB)