Personal Paint's Color Palette in C
Hi,
I have saved a picture as C source in PPaint, but I don't know how to set the palette. I wanted to use the SetRGB4 function, but the saved palette is in form of separate colors in format, for example, 0x0100, 0x0210, and so on. How do I convert the colors to r,g,b, required by SetRGB4 or maybe there is easier way to do it, please? Regards |
The palette has the right format for use with LoadRGB32.
|
All times are GMT +2. The time now is 18:07. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.