Gets or sets the sampling ratio of chrominance components in relation to
the luminance component. In JPEG compressed dat a JPEG marker is used
instead of this tag.
See remarks for further information.
Namespace:
FreeImageAPI.MetadataAssembly: FreeImageNET (in FreeImageNET.dll)
Syntax
C# |
---|
public ushort[] YCbCrSubSampling { get; set; } |
Visual Basic (Declaration) |
---|
Public Property YCbCrSubSampling As UShort() |
Visual C++ |
---|
public: property array<unsigned short>^ YCbCrSubSampling { array<unsigned short>^ get (); void set (array<unsigned short>^ value); } |
Remarks
The following values are definied:
Handling of null values A null value indicates, that the corresponding metadata tag is not present in the metadata model. Setting this property's value to a non-null reference creates the metadata tag if necessary. Setting this property's value to a null reference deletes the metadata tag from the metadata model.
ID | Description |
---|---|
[2,1] | YCbCr4:2:2 |
[2,2] | YCbCr4:2:0 |
other | reserved |
Handling of null values A null value indicates, that the corresponding metadata tag is not present in the metadata model. Setting this property's value to a non-null reference creates the metadata tag if necessary. Setting this property's value to a null reference deletes the metadata tag from the metadata model.