Jpeg​Subsampling​Mode Jpeg​Subsampling​Mode Jpeg​Subsampling​Mode Jpeg​Subsampling​Mode Enum


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

public : enum class JpegSubsamplingModepublic enum JpegSubsamplingModePublic Enum JpegSubsamplingMode// You can use this enum in JavaScript.
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)


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.


Default Default Default Default

The default mode will be used.

Y4Cb2Cr0 Y4Cb2Cr0 Y4Cb2Cr0 Y4Cb2Cr0

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

Y4Cb2Cr2 Y4Cb2Cr2 Y4Cb2Cr2 Y4Cb2Cr2

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

Y4Cb4Cr4 Y4Cb4Cr4 Y4Cb4Cr4 Y4Cb4Cr4

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