--- In [email protected], "brucexs" <bswit...@...> 
wrote:
>
> Red is in the lowest byte.  Green in the middle.  Blue shifted 16 
> bits. The standard windows macro is
> #define RGB(r, g ,b)  ((DWORD) (((BYTE) (r) | \ 
>     ((WORD) (g) << 8)) | \ 
>     (((DWORD) (BYTE) (b)) << 16))) 
> 
> So for powerpro that could be
> 
> rgb = r + (g<<8) + (b<<16)
> 
> 
> 
> 
> Or you use (
> >
>

Damn I got lost in there... :D
But thanks anyway for explaining how it works. It's appreciated 
bruce.

Reply via email to