JpegSubsamplingMode enumeration

Applies to Windows and Windows Phone

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

Syntax


var value = Windows.Graphics.Imaging.JpegSubsamplingMode.default;

Attributes

[Version(0x06020000)]

Members

The JpegSubsamplingMode enumeration has these members.

MemberValueDescription
Default | default0

The default mode will be used.

Y4Cb2Cr0 | y4Cb2Cr01

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

Y4Cb2Cr2 | y4Cb2Cr22

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

Y4Cb4Cr4 | y4Cb4Cr43

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.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Graphics.Imaging
Windows::Graphics::Imaging [C++]

Metadata

Windows.winmd

 

 

Show:
© 2014 Microsoft