for the exiting official png decoder, it uses too many ram and draws the whole thing.
but for some mcu with less ram, we may want to decode & draw a PNG line-by-line. there is an existing png decoder for arduino platform: PNGdec, it requires less than 50kB ram.
- lv_draw_img.c | lv_img_draw_core() =>
| lv_lib_lpng\lv_lpng.cpp | decoder_draw_lbl() => PNGDec => lv_draw_map()
as we can see, this patch is not so well implementation, it will modify the lvgl core code.
so, is there any simple and clean method to apply this?
any suggestion are welcome.