This documentation is for the old version. Go to the latest Graphics Mill docs

JpegFrame.ChromaSubsamplingEnabled Property

Gets/sets the value that specifies whether to use chroma subsampling in JPEG compression or not.

Namespace: Aurigma.GraphicsMill.Codecs
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)

Syntax

Visual Basic
Public Property ChromaSubsamplingEnabled As Boolean
C#
public bool ChromaSubsamplingEnabled { get; set; }

Property Value

Value that specifies whether to use chroma subsampling in JPEG compression or not.

Remarks

Chroma subsampling is one of the compression methods used in JPEG. It is based on the specific of the human vision and allows to reduce size of the result file by storing color information at lower resolution than luminance information. In most cases this tradeoff will not be noticeable to the human. But sometimes such information loss may be significant (e.g. for some classes of image processing algorithms) and chroma subsampling should be turned off.

Chroma subsampling is enabled by default.

See Also

Reference