I created a bmp file,like this
but ssimulation with VS ，result like this，
did i miss something？
How are you loading the file? Please provide a code sample.
lv_obj_t * icon = lv_img_create(NULL, NULL); lv_disp_load_scr(icon); /*From file*/ lv_img_set_src(icon, "S:C:\\Users\\LIU\\Desktop\\test.bin");
I chose Binary RGB565,and LV_COLOR_DEPTH is 16.
I try this,but it not worked for me.
Whitch the original format is the most suitable？
I used JPG,PNG，BMP，only few of them succeed.
List item you said that you created BMP file, but in forum you attached JPG file. Can you attach original source file here?
Which version of the LVGL are you using?
Does your BMP file has transparent background?
1 can not upload BMP file
I upload the file and main.c . you can use it simluate in VS.
BMP_800x480.zip (2.5 MB)
main.c (8.7 KB)
below is the the test code
lv_obj_t * icon = lv_img_create(NULL, NULL); lv_img_set_antialias(icon, true); lv_disp_load_scr(icon); /*From file*/ lv_img_set_src(icon, "S:C:\\Users\\LIU\\Desktop\\test.bin");
hi， I used Microsoft Paint，and salved as 24 bit BMP，it is works.
But files in the zip,can not work,even salved as 24 bit BMP.
can you test it.
If you found a working format I suggest using that until the new converter is released.
ok，I am looking forward it ,thanks.