I have numerous image files stored as a c_array in the project, occupying a substantial amount of memory space. Now, I am looking to compress them, similar to a zip file, and store them in internal memory, such as flash. When the screen is drawn, I intend to read the compressed files from flash, decompress them, and display. Does the LVGL library include functions for image compression and decompression?
Where you decompress? For this you require RAM. And yes lvgl support image formats decode , not directly zip but i mean better and simpler png jpg … read docu
You can also use any online tools tool like jpegcompressor.com to make your images smaller without losing quality. LVGL doesn’t support zip compression directly, but it works well with PNG and JPEG files. If you want to decompress images while running, you’ll need enough RAM and can use something like zlib to decompress the files stored in flash before showing them on the screen.