Color Utilities
[Utilities]
Detailed Description
- See im_util.h
Functions | |
long | imColorEncode (unsigned char red, unsigned char green, unsigned char blue) |
void | imColorDecode (unsigned char *red, unsigned char *green, unsigned char *blue, long color) |
Function Documentation
|
Encode RGB components in a long for palete usage.
im.ColorEncode(red: number, green: number, blue: number) -> color: lightuserdata [in Lua 5] |
|
Decode RGB components from a long for palete usage.
im.ColorDecode(color: lightuserdata) -> red: number, green: number, blue: number [in Lua 5] |