Crate evalchroma
source · [−]Structs
Recommended settings for image encoding
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.
Internal trait for conversion from RGB to YCbCr
Traits
Fast CbCr appproximation
Functions
Analyze img
, and recommend best subsampling for the image.