Expand description
BGR/BGRA alernative layouts & grayscale
BGR might be useful for some Windows or OpenGL APIs.
Structs§
- A
Grayscale
pixel (rgb crate v0.8) - A pixel for grayscale value + alpha components (rgb crate v0.8)
Type Aliases§
- 8-bit ABGR, alpha is first. 0 = transparent, 255 = opaque.
- 16-bit ABGR in machine’s native endian. 0 = transparent, 65535 = opaque.
- 8-bit ARGB, alpha is first. 0 = transparent, 255 = opaque.
- 16-bit ARGB in machine’s native endian. 0 = transparent, 65535 = opaque.
- 8-bit BGR
- 16-bit BGR in machine’s native endian
- 8-bit BGRA
- 16-bit BGR in machine’s native endian
- GRAY8
Deprecated 8-bit gray - GRAY16
Deprecated 16-bit gray in machine’s native endian - GRAYA8
Deprecated 8-bit gray with alpha in machine’s native endian - GRAYA16
Deprecated 16-bit gray with alpha in machine’s native endian - 8-bit GRB