Closed matsekberg closed 3 months ago
The screenshot color looks to be the correct one: https://www.colorhexa.com/007070
I have uploaded your jsonl on my crowpanel. The top bar is dark cyan not blue. I think your display shows a wrong color and the screenshot is correct.
I think you are correct, very strange. I have tried to get close to the screenshot-green, see the secons image. This has hex value #103C1F, that is far from #007070
Is there any color mapping taking plave in the LVGL-library that mismatch the Sunton display?
LVGL doesn't map any colors, that is the display/driver's job.
I have the 7" 480X800 sunton and find the colour reproduction is very poor, next to other screens I have, everything looks washed out with a strong blue hue.
LCD displays usually have gamma correction settings, and other color parameters that can be set by the driver. I haven't looked into it, but it should be possible to tweak the settings to match the wanted colors. Check the documentation of your display to see what settings are available and how to implement them.
Where would such code be?
Check the datasheet of the components, usually provided by the vendor.
Perform all steps below and tick them with [x]
Describe the bug
Screenshot renders wrong colors. See the top bar.
To Reproduce
JSONL
Information page
openHASP Version 0.7.0-rc10 fb2bebf Build DateTime Feb 2 2024 15:41:18 UTC Environment esp32-3248s035c_4MB Uptime 48m 46s Idle long Active Page 1 Device Memory Free Heap 52.47 KiB Free Block 45.98 KiB Fragmentation 12% LVGL Memory Total 48.00 KiB Free 23.19 KiB Fragmentation 5% Model ESP32-D0WD-V3 rev3 Frequency 240MHz Core Version 4.4.6 Reset Reason CPU0: SW_CPU_RESET / CPU1: SW_CPU_RESET Flash Size 4.00 MiB Program Size Used 1.66 MiB Program Size Free 1.68 MiB Filesystem Size 560.00 KiB Filesystem Used 32.00 KiB Filesystem Free 528.00 KiB
Expected behavior
Same colors.
Screenshots or video