Skip to main content

Module image_io

Module image_io 

Source
Expand description

Layer 1 — image input/output.

Loads the container image, validates it through a type-state pipeline and analyses it for traces of lossy compression. The type-state pattern guarantees that no downstream layer can ever receive an image that has not passed every validation gate.

Modules§

buffer
Owned image buffer and the pixel-access abstraction used by every layer above image I/O.
jpeg_detect
Detection of prior JPEG compression via stochastic block sampling.
phash
Perceptual hash margin filter with a hard stability limit of k <= 1.
validate
Validation gates of the image type-state pipeline.