chromaSubSampling method

Quality chromaSubSampling(
  1. ChromaSubSampling chromaSubSampling
)

Adds an optional qualifier to control chroma subsampling.

Chroma sub-sampling is a method of encoding images by implementing less resolution for chroma information (colors) than for luma information (luminance), taking advantage of the human visual system's lower acuity for color differences than for luminance.

Receives String chromaSubSampling Chroma sub-sampling value.

Returns Quality object.

Implementation

Quality chromaSubSampling(ChromaSubSampling chromaSubSampling) {
  _chromaSubSampling = chromaSubSampling;
  return this;
}