I am using png_decoder.c, and it works well when LV_COLOR_DEPTH = 32, but set LV_COLOR_DEPTH to 16, the display color is wrong.
this is my png file
when LV_COLOR_DEPTH is 32, result: ![32bit|251x354(upload://qDK6z4ZQqU5j7FTkYfTXHYtfeLE.png)
when LV_COLOR_DEPTH is 16, result:
and my test code is :
void my_demo_create_img()
{
lv_obj_t * img_obj = lv_img_create(lv_scr_act(), NULL);
lv_img_set_src(img_obj, “./bluetooth_00000.png”);
lv_obj_set_pos(img_obj,55,55);
}