Structs§
- Chroma
Evaluation - Recommended settings for image encoding
- Pixel
Size - 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
- YCbCr
Approx - Internal trait for conversion from RGB to YCbCr
Traits§
- RGBTo
CbQuick - Fast CbCr appproximation
Functions§
- adjust_
sampling - Analyze
img
, and recommend best subsampling for the image.