CONFIG_LVGL_IMG_CACHE_DEF_SIZE

Default image cache size

Type: int

Help

Default image cache size, image caching keeps the images open. If only the built-in image formats are used there is no real advantage of caching. With complex image decoders (e.g. PNG or JPG) caching can save the continuous decoding of images. However the opened images might consume additional RAM.

Direct dependencies

LVGL

(Includes any dependencies from ifs and menus.)

Default

  • 1

Kconfig definition

At lib/gui/lvgl/Kconfig:384

Included via Kconfig:8Kconfig.zephyr:42lib/Kconfig:12lib/gui/Kconfig:4

Menu path: (Top) → Additional libraries → LittlevGL GUI library

config LVGL_IMG_CACHE_DEF_SIZE
    int "Default image cache size"
    default 1
    depends on LVGL
    help
      Default image cache size, image caching keeps the images open.
      If only the built-in image formats are used there is no real
      advantage of caching. With complex image decoders (e.g. PNG or JPG)
      caching can save the continuous decoding of images. However the
      opened images might consume additional RAM.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)