Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

JpegSubsamplingMode Enum

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Specifies which chroma subsampling mode will be used for image compression in JPEG images.

public enum class JpegSubsamplingMode
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class JpegSubsamplingMode
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum JpegSubsamplingMode
var value = Windows.Graphics.Imaging.JpegSubsamplingMode.default
Public Enum JpegSubsamplingMode
Inheritance
JpegSubsamplingMode
Attributes

Windows requirements

Requirements Description
Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

Name Value Description
Default 0

The default mode will be used.

Y4Cb2Cr0 1

4:2:0 (2x2) chroma subsampling will be used.

Y4Cb2Cr2 2

4:2:2 (2x1) chroma subsampling will be used.

Y4Cb4Cr4 3

4:4:4 (1x1) chroma subsampling will be used.

Remarks

Y4Cb2Cr0 has the lowest space usage and lowest image quality. Y4Cb2Cr2 provides medium space usage and image quality. Y4Cb4Cr4 has the highest space usage and highest image quality.

Applies to


Feedback

Was this page helpful?