Use a cache for lvgl images

custom
jacqueline 1 year ago
parent ee867f2dbc
commit 79a6dc1a3e
  1. 2
      lib/lvgl/lv_conf.h

@ -140,7 +140,7 @@
*With complex image decoders (e.g. PNG or JPG) caching can save the continuous open/decode of images.
*However the opened images might consume additional RAM.
*0: to disable caching*/
#define LV_IMG_CACHE_DEF_SIZE 0
#define LV_IMG_CACHE_DEF_SIZE (16)
/*Number of stops allowed per gradient. Increase this to allow more stops.
*This adds (sizeof(lv_color_t) + 1) bytes per additional stop*/

Loading…
Cancel
Save