JpegSubsamplingMode JpegSubsamplingMode JpegSubsamplingMode JpegSubsamplingMode JpegSubsamplingMode Enum


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

public : enum class JpegSubsamplingMode
enum class winrt::Windows::Graphics::Imaging::JpegSubsamplingMode : int32_t
public enum JpegSubsamplingMode
Public Enum JpegSubsamplingMode
var value = Windows.Graphics.Imaging.JpegSubsamplingMode.default;

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)


Default Default Default Default Default 0

The default mode will be used.

Y4Cb2Cr0 Y4Cb2Cr0 Y4Cb2Cr0 Y4Cb2Cr0 Y4Cb2Cr0 1

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

Y4Cb2Cr2 Y4Cb2Cr2 Y4Cb2Cr2 Y4Cb2Cr2 Y4Cb2Cr2 2

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

Y4Cb4Cr4 Y4Cb4Cr4 Y4Cb4Cr4 Y4Cb4Cr4 Y4Cb4Cr4 3

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


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.