lvgl/lv_lib_gif

cannot display pictures correctly

reusu opened this issue · 0 comments

reusu commented

work with lvgl 8.0.2

code like:

#include <lv_sjpg.h>
lv_split_jpeg_init();
lv_obj_clean(lv_scr_act());
lv_obj_t* boot_img = lv_img_create(lv_scr_act());
lv_img_set_src(boot_img, "S:/wallpaper.jpg");
lv_obj_align(boot_img, LV_ALIGN_BOTTOM_RIGHT, 0, 0);

result:
截屏2021-09-07 下午2 27 25