Description
I am doing a project in Studio. It has colors in RGB888 format.
My display only supports 16-bit RGB565 color.
It is clear that when converting 24 bits to 16 bits there are losses, BUT there is a strong distortion in CERTAIN ranges.
I am attaching screenshots of what I see in Studio and what is on the display screen.
As you can see, the problem occurs only in certain ranges of colors in equal intervals. (the panel is filled with a gradient from 0xFFFFFF to 0x000000) There is also a problem with gradients of other colors, but it is less noticeable. The gradient itself IMHO has nothing to do with the problem, since with a normal fill from the specified range there is also a distortion.
My guesses:
- I did something wrong in the settings
- Incorrect conversion from 24 bit to GRB565 since the stripes are more yellow or green, then maybe something is wrong with the Green bits since there are 6 of them
- My display is damaged or defective
What MCU/Processor/Board and compiler are you using?
Sunton esp32 8048s050c display (ESP32 Cheap Yellow Display)
What LVGL version are you using?
9.2
What do you want to achieve?
What have you tried so far?
- Played with color support in LVGL (RGB565, RGB565A8, RGB888, …)
- Checked the display driver settings and parameters 10 times and compared them with the settings of other users.
Code to reproduce
Add a code snippet which can run in the simulator. It should contain only the relevant code that compiles without errors when separated from your main code base.
The code block(s) should be formatted like:
/*You code here*/
Screenshot and/or video
If possible, add screenshots and/or videos about the current state.
Studio view:
Display view: