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 <Zephyr>/lib/gui/lvgl/Kconfig.image:19

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:33<Zephyr>/lib/Kconfig:14<Zephyr>/lib/gui/Kconfig:4<Zephyr>/lib/gui/lvgl/Kconfig:28

Menu path: (Top) → Additional libraries → LittlevGL GUI library → Image decoder and cache

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.)