Is there a way to save what is currently on the screen to a png or the like? I am sure there is (As the data has to be somewhere right?)
This would be a really cool piece of functionality
What MCU/Processor/Board and compiler are you using?
Raspberry Pi ATM, VisualGDB Visual Studio 2019
What LVGL version are you using?
7.7
What do you want to achieve?
A simple function to call to save a screen shot.
What have you tried so far?
Not quite positive where to start, other than to start digging thru the core.
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.
I think it would be easy, except that users’ requirements are different. Some would want a raw buffer to send over the air to another device. Others wouldn’t have enough RAM for that and would want it saved to a file.
Something like this might be better implemented as an example which can be copied into a project, rather than a core function.