Lvgl 8.4 and showing png's from sdcard

Description

I am trying do load and show pngs from a SD Card

What MCU/Processor/Board and compiler are you using?

Waveshare ESO32-S3-Touch-LCD-7"

arduion-esp

What LVGL version are you using?

8.4.0

What do you want to achieve?

I would load png’s from sdcard and show them on a tab

What have you tried so far?

I have configured in the lv_conf.h the following settings

#define LV_LOG_LEVEL LV_LOG_LEVEL_WARN
#define LV_IMG_CACHE_DEF_SIZE 100
#define LV_USE_FS_STDIO 1
#define LV_FS_STDIO_LETTER 'S' 
#define LV_USE_PNG 1

for creating the image I use the following code

    lv_obj_t* image_ = lv_img_create(tab5);
	lv_obj_set_width(image_, 200);
	lv_obj_set_height(image_, 200);
    lv_obj_align(image_, LV_ALIGN_CENTER, 0, 0);
    lv_img_cache_invalidate_src(NULL);
    lv_img_set_src(image_, "S:/02d_t.png");

	lv_obj_t* label_ = lv_label_create(tab5);
	lv_label_set_text(label_, "Test");
	lv_obj_align(label_, LV_ALIGN_CENTER, 0, 100);
    lv_obj_set_style_text_color(label_, lv_color_white(), 0);
    lv_obj_set_style_text_font(label_, &lv_font_montserrat_12_umlaut, 0);

for testing I also added a textlabel and this is shown. I do not recive any error on the screen and also not in the Serial Monior

Found the solution

Based on this example
esp-arduino-learn/examples/08_integrated/01_lcd_sd_card_fc_joypad_fs_lv_lib_100ask at master · 100askTeam/esp-arduino-learn

from @100ask I wrote my own driver. Then I also converted the png’s to bin

If your read docu for image 200x200 png is required 200x200x4 RAM size. In default config isnt PSRAM enabled then your inetrnal ram is low for this.
If your module ESP32 have PSRAM , enable in lvconf MEM CUSTOM define.