_lv_img_cache_open() function
MACROS GLOBAL FUNCTIONS Open an image using the image decoder interface and cache it. The image will be left open meaning if the image decoder open callback allocated memory then it will remain. The image is closed if a new image is opened and the new image takes its place in the cache.
Arguments
src
source of the image. Path to file or pointer to an `lv_img_dsc_t` variable
color
color The color of the image with `LV_IMG_CF_ALPHA_...`
Return value
pointer to the cache entry or NULL if can open the image