Decode normal jpeg files using LVGL V8.3

Description

Hi, I want to load images dynamically from files.
I can load png files but it seems JPG files can’t be decoded.
I’ve noticed that the master branch of lvgl repo has included the libjpeg_turbo files.
Is it possible to decode jpg files using V8.3?

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

linux, debian

What LVGL version are you using?

release/V8.3

What do you want to achieve?

decode normal jpg (not sjpg or post-processed image by converter)

What have you tried so far?

I can decode png files and works well.
But can’t decode jpg files and show nothing on screen.

Code to reproduce

#define LV_USE_FS_STDIO 1
#define LV_USE_PNG 1
#define LV_USE_SJPG 1
lv_img_set_src(ui_Disconnect_png, “A:image/disconnect_48.png);    // works well
lv_img_set_src(ui_Disconnect_jpg, “A:image/disconnect_48.jpg);     // show nothing

Upgrade to V9.
Issue closed.