LVGL 9.1 Image Converter Transparent Background

Description

I’ve succesfully converted an image using Image Converter

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

ESP32-S3, ESP-IDF

What LVGL version are you using?

9.1

What do you want to achieve?

Get the background of my converted image transparent

What have you tried so far?

Change bg_opa, convert png without background… However, the background is always black.

Code to reproduce

Add a code snippet which can run in the simulator. It should contain only the relevant code that compiles without errors when separated from your main code base.

...
lv_obj_set_style_bg_opa(btn_start_coffe_left_small_text,0, LV_STATE_DEFAULT);
lv_image_set_src(btn_start_coffe_left_small_text, &Coffe_Cup_Small);