Crate evalchroma

Source

Structs§

ChromaEvaluation
Recommended settings for image encoding
PixelSize
This is subsampling expressed as scale relative to luma (i.e. inverse of the way how libjpeg counts number of samples per channel), e.g. (2,2) means 1 chroma sample per 4 luma samples.
Sharpness
YCbCrApprox
Internal trait for conversion from RGB to YCbCr

Traits§

RGBToCbQuick
Fast CbCr appproximation

Functions§

adjust_sampling
Analyze img, and recommend best subsampling for the image.