Expand description
BGR/BGRA alernative layouts & grayscale
BGR might be useful for some Windows or OpenGL APIs.
Re-exports§
pub use crate::formats::gray::Gray_v08 as Gray;
pub use crate::formats::gray_alpha::GrayAlpha_v08 as GrayAlpha;
Type Aliases§
- ABGR8
- 8-bit ABGR, alpha is first. 0 = transparent, 255 = opaque.
- ABGR16
- 16-bit ABGR in machine’s native endian. 0 = transparent, 65535 = opaque.
- ARGB8
- 8-bit ARGB, alpha is first. 0 = transparent, 255 = opaque.
- ARGB16
- 16-bit ARGB in machine’s native endian. 0 = transparent, 65535 = opaque.
- BGR8
- 8-bit BGR
- BGR16
- 16-bit BGR in machine’s native endian
- BGRA8
- 8-bit BGRA
- BGRA16
- 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
- GRB8
- 8-bit GRB