View Single Post
Old 17 May 2014, 17:23   #1
aszu
Registered User
 
aszu's Avatar
 
Join Date: Mar 2014
Location: Leeds
Posts: 141
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
aszu is offline  
 
Page generated in 0.04319 seconds with 11 queries