C#, Bitmap, r8g8b8 and b5g6r5 pixel data
문제
I am extracting r8g8b8 palette from file, looks like its very easy to convert it to System.Drawing.Color struct and then fill Bitmap by using SetPixel method.
But then i've encountered b5g6r5 palette and now i don't know what to do. Is there any way to fill Bitmap class with that kind of data?
Happy new year!
해결책
Have you considered converting BGR565 to RGB888 (as described in the answers here) and then do what you did with your RGB888 values?
제휴하지 않습니다 StackOverflow