LVGL v9 Binary image loading

Hello everyone! I upgraded to the LVGL v9 and trying to load a binary(JPG converted to RGB565 using the official converter) image from the file system. The problem is that when I try to load the image, I receive these warns in the log:
lv_bin_decoder_info: Legacy bin image detected
lv_bin_decoder_get_area: CF: 4 is not supported lv_bin_decoder.c:378

I also tried to change the enum value to 4 just to test, but got only some weird stripes instead of the image.

Here is the code:

auto screen = lv_screen_active();
auto img = lv_image_create(screen);
lv_obj_set_size(img, LV_PCT(100), LV_PCT(100));
lv_obj_align(img, LV_ALIGN_CENTER, 0, 0);
lv_image_set_src(img, "S:C:\\Users\\Hermanest\\Desktop\\image.bin");

I tried both on windows simulator and esp32 and got the same behaviour. Thanks in advance.

Hi… i’am trying to upgrade my project to LGVL 9.1.0, It’s going well but i have the same problem when i want to load a binary image. Do i have to activate something in the Lv_conf.h file?
Rq : loading file worhs fine and the bin image works fine with lvgl 8.4 version.
Best regards

Hey. I solved the problem by using python CLI image converter. It seems like the converter that was used for v8 does not work for v9.