Enum ImagePixelFormat
Specifies the pixel formats supported by the LMKit media pipeline for image data. Format names encode total bits per pixel and the exact in-memory channel order.
public enum ImagePixelFormat
Fields
GRAY8 = 0
8 bits per pixel grayscale. In-memory layout (per pixel): [Y]
- Range: 0 = black, 255 = white
- No color or alpha channels
RGB24 = 1
24 bits per pixel true color (no alpha). In-memory layout (per pixel): [R][G][B] (8 bits each)
- Bytes per pixel: 3
- No alpha channel present
RGBA32 = 2
32 bits per pixel color with alpha. In-memory layout (per pixel): [R][G][B][A] (8 bits each)
- Bytes per pixel: 4
- Alpha range: 0 = fully transparent, 255 = fully opaque
- Alpha is NOT premultiplied