Images and Colours Being Displayed Incorrectly


Hi, I am using LVGL v8 with Teensy and SSD1963 and am having some difficulty with colours being displayed incorrectly. I have attached a photo of what my screen is showing vs what it is meant to look like

    lv_obj_t * img1 = lv_img_create(lv_scr_act());
    lv_img_set_src(img1, &img_cogwheel_argb);
    lv_obj_align(img1, LV_ALIGN_CENTER, 0, -20);
    lv_obj_set_size(img1, 200, 200);

    lv_obj_t * img2 = lv_img_create(lv_scr_act());
    lv_img_set_src(img2, LV_SYMBOL_OK "Accept");
    lv_obj_align_to(img2, img1, LV_ALIGN_OUT_BOTTOM_MID, 0, 20);


If you are using 16bpp color, try swapping the value of LV_COLOR_16_SWAP.