Expand description
Pixel Format Naming Convention (PFNC) tables, sizes and conversions.
PixelFormat names the formats a camera reports, with the 32-bit codes
of EMVA’s GenICam Pixel Format Names and Values table, and answers how
many bits and bytes they occupy. convert turns their bytes into
samples, grey or RGB. This crate is the one place pixel layouts live: the
library’s Frame::to_rgb8, its image writer and Viva Studio’s viewer all
call convert.
The crate does no I/O and has no required dependencies, and it compiles
for wasm32-unknown-unknown.
Modules§
- convert
- Turning a frame’s bytes into samples: unpack, normalise, demosaic, colour-convert.
Enums§
- Pixel
Format - Enumeration of the pixel formats supported by the helper routines.