Skip to main content

Module buffer

Module buffer 

Source
Expand description

Owned image buffer and the pixel-access abstraction used by every layer above image I/O.

An ImageBuffer can only be produced by the validation type-state in crate::image_io::validate: its constructor is pub(crate) and the intermediate states of the automaton are private to that module. Downstream layers therefore receive images that are guaranteed to have passed every validation gate.

Structs§

ImageBuffer
A decoded, fully validated container image owned as a flat byte buffer.

Enums§

ColorSpace
Pixel layout of a decoded container image.

Traits§

CoverSource
Read/write access to the raw samples of a container image.