What causes the color errors in the framebuffer/screenshot?
- February 24, 2022
- 3 replies
- 3340 views
Hello
I have implemented a screenshot function that copies the first framebuffer and transfers it to the PC via a UART.
Everything works fine, but some pixels have incorrect colors in the screenshot.
Especially the colorbending in for creen does not look correct.
You can see single pixel lines in the green color palette as well as in the gray tones on the screenshots.
The colors on the display, on the other hand, look correct.
Is it possible that the anti-aliasing or something else is causing the color changes?
The raw values are attached as a csv file.
To create the RGB888 colors, I simply move the colors from the original RGB565 to the correct location. The wrong pixels are also visible in the raw data.
I have checked the data in the framebuffer. You can see the errors there as well.
The data is transferred correctly.
Does anyone have an idea where the wrong colors are coming from?
Used System:
TouchGFX 4.16.0
STM32F7
Display 480x272 RGB585
