Odd issue using image with lv_draw_sw_blend_image_to_rgb565

Error Loading and displaying an image

ESP32/Arduino

9.2.2

Display said image :slight_smile:

What have you tried so far?

Using the image transform, converting it to a .h file and getting it to work with C++

Code to reproduce

Here is the image descriptor

const lv_img_dsc_t NoWifi = {
  {
    LV_COLOR_FORMAT_RGB565,
    0,
    2,
    32,
    24,
  },
  768*2,
  NoWifi_map
};

I am using 16 bit color which should be RGB565, so im at a bit of a loss here. I get the following error in the logs:
[Warn] (13.388, +82) lv_draw_sw_blend_image_to_rgb565: Not supported source color format lv_draw_sw_blend_to_rgb565.c:399

Im 100% sure Im missing something simple.

So, no images are displaying unfortunately :frowning:

I’d like to add, everything else is working just fine, so maybe this is a bug in images on 9.2.2? Not sure

Ok, good news.

I figured it out. I am using C++ and had the wrong order on the image description.

I lied, still not working :frowning: