Using LVGL how to show image on display by reading raw image data from the local array

Using a Python script, I am getting the JPG image data in hexadecimal bytes. I am storing these hexadecimal bytes in a local C array in my ESP32-S3 device code. With this array, how can I create a filesystem, assign a name to the file, and pass the filename and driver information to the API below?

lv_image_set_src(my_img, "S:path/to/picture.jpg");

is c file not jpg file … simple answ you cant.
Your showed code work directly with jpg files , not require any python or other convert.

At runtime we are sending the image data through serial and trying to load the JPG image with the data transferred via serial.

Then simply create array RAW with lvgl online image converter and learn how create header struct. Then send data from uart to mem and assign header…