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.Metadata
Assembly:  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:

IDDescription
[2,1]YCbCr4:2:2
[2,2]YCbCr4:2:0
otherreserved


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.

Version Information

FreeImage.NET

Supported in: 3.12.0, 3.13.0, 3.13.1

See Also