Closed jeeftor closed 1 year ago
12710 is a dark green.
So i think your converting is wrong. Use this tool to check it. http://www.rinkydinkelectronics.com/calc_rgb565.php
for further discusions i prefer a own forum post in discord. Im happy to help you
Bug report
Describe the bug
I have this gif:
of a moon with the following colors according to image magic:
I think I'm probably doing my RGB565 color conversion wrong- however - I've checked it a few times. It appears to not render correctly when I use a source image and a BMP array at the same time.
These colors convert into:
1D1D1D
->6371
353535
->12710
CECECE
->52857
D6D6D6
->54970
F0F0F0
->63390
And the main issue is when I pass the following packet:
Which should be the BMP matrix of the icon I get the following rendering:
With the icon representation to the left and the BMP rendering to the right ...
I'm not sure if I'm in the wrong color space or something... but I took the
.gif
and used python to print out the BMP array...I'm not 100% sure this is a bug and not user error, but if you wanted to investigate hopefully I've given you some information.
(If I could figure out how to get PlatformIO to work on my system I would have debugged the actual pixel rendering of the gif directly)
Additional information
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Logs
Additional context
Add any other context about the problem here.