About Dotnet IoT use this to convert images to RGB565 #2296
Unanswered
GreenShadeZhang
asked this question in
Q&A
Replies: 1 comment 10 replies
-
If the LCD screen expects RGB565 you cant send BGR565 and expect it to work. ImageSharp does not have this pixel format, but you could try to use an implementation from the ImageSharp.Texture project: https://github.com/SixLabors/ImageSharp.Textures/blob/main/src/ImageSharp.Textures/PixelFormats/Generated/Rgb565.cs Just copy the file to your project and see if that works. |
Beta Was this translation helpful? Give feedback.
10 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
At present, I use SPI communication to implement an LCD screen driver, the screen data is RGB565, when I use this library for image processing, I found that only BGR565, I use BGR565 to transmit, the picture can be displayed normally, but the picture color is not normal, I also tried to use traversed pixels to operate but it seems to be written incorrectly, I want to ask how this situation should deal with pixel data.
Beta Was this translation helpful? Give feedback.
All reactions