GdPicture.NET.14
GdPicture14 Namespace / JPEGSubsamplingMode Enumeration





In This Topic
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
MemberValueDescription
Default0The default mode will be used.
Y4Cb1Cr140964:1:1 (4x1 1x1 1x1) chroma subsampling will be used. The horizontal color resolution is quartered.
Y4Cb2Cr0163844:2:0 (2x2 1x1 1x1) chroma subsampling will be used. The chrominance resolution in both the horizontal and vertical directions is cut in half.
Y4Cb2Cr2327684: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.
Y4Cb4Cr4655364: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