Skip to main content

RGB_INT8

Constant RGB_INT8 

Source
pub const RGB_INT8: FourCharCode;
Expand description

Packed RGB with uint8→int8 XOR 0x80 reinterpretation. The underlying bytes are uint8 with MSB flipped; when cast to i8, values map correctly: uint8 0 → int8 -128, uint8 128 → int8 0, uint8 255 → int8 127.