JPEGSubsamplingMode Enumeration
In This Topic
Specifies which chroma subsampling mode will be used for image compression in JPEG images.
Syntax
'Declaration
<ComVisibleAttribute(True)>
Public Enum JPEGSubsamplingMode
Inherits System.Enum
[ComVisible(true)]
public enum JPEGSubsamplingMode : System.Enum
public enum JPEGSubsamplingMode = class(System.Enum)
ComVisibleAttribute()
public enum JPEGSubsamplingMode extends System.Enum
[ComVisible(true)]
__value public enum JPEGSubsamplingMode : public System.Enum
[ComVisible(true)]
public enum class JPEGSubsamplingMode : public System.Enum
Members
Member | Value | Description |
Default | 0 | The default mode will be used. |
Y4Cb1Cr1 | 4096 | 4:1:1 (4x1 1x1 1x1) chroma subsampling will be used. The horizontal color resolution is quartered. |
Y4Cb2Cr0 | 16384 | 4:2:0 (2x2 1x1 1x1) chroma subsampling will be used. The chrominance resolution in both the horizontal and vertical directions is cut in half. |
Y4Cb2Cr2 | 32768 | 4:2:2 (2x1 1x1 1x1) chroma subsampling will be used. Half of the horizontal resolution in the chrominance is dropped (Cb and Cr),
while the full resolution is retained in the vertical direction, with respect to the luminance. |
Y4Cb4Cr4 | 65536 | 4:4:4 (1x1 1x1 1x1) chroma subsampling will be used.
The resolution of chrominance information (Cb and Cr) is preserved at the same rate as the luminance (Y) information. |
Inheritance Hierarchy
System.Object
System.ValueType
System.Enum
GdPicture14.JPEGSubsamplingMode
See Also
Reference
GdPicture.NET.14 (COM - ActiveX)~GdPicture14_namespace