문제

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?

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top