Issue with image in LVGL

Hello,
I’m using LVGL 8.2.0 with and ESP32-S3. When rendering an image 800x480 in 16 bit mode, I got some weird effect, it has some sort of contour, as in the image. It is very evident in the clear part of the image.

I already tried to use dithering in LVGL, but didn’t have great result.
Any idea of what could it be?

Try that in one (some) simulator. If the behaviour is the same, then the image is corrupted. If the image on the simulator is OK, then there might be something with the LCD itself, and those pixels on the LCD might have a problem showing that specific color.

I see more problems on image one is gradients, that is normal on 16bit.
But without original image hard to say …

I also think that it’s an LCD driver issue. Maybe to slow or too fast clock?

That there is an RGB565 image that was converted from an RGB888 and no dithering was used…

I am going to add the dithering as an option to the python image converter script in LVGL. If that’s OK with you @kisvegabor

Here is a link that has code examples for how to do the dithering real time. There are some images where you can see what it looks like as RGB888, RGB565 without dither and RGB565 with dither. It’s a night and day difference.

Thanks, I will check all your solutions, and I’ll get back with my results!

That would be great! Thank you!