pub const NCOMPS: [usize; 7];Expand description
Re-export every public type from the color crate, including all
arithmetic helpers from color::convert.
Downstream modules within this crate can import everything they need with
a single use crate::types::*.
Bytes per pixel for each PixelMode variant, indexed by discriminant.
NCOMPS[0] (Mono1) is 0 because Mono1 is a packed-bits format;
see the module-level documentation for details.
This table is kept as a pub const for C-interop compatibility and because
the raster crate re-exports it. New variants must be reflected here
and in the match inside PixelMode::bytes_per_pixel; a
#[cfg(debug_assertions)] test asserts they stay in sync.