Gets or sets position of chrominance components in relation to the luminance component.
See remarks for further information.
Namespace:
FreeImageAPI.MetadataAssembly: FreeImageNET (in FreeImageNET.dll)
Syntax
C# |
---|
public Nullable<ushort> YCbCrPositioning { get; set; } |
Visual Basic (Declaration) |
---|
Public Property YCbCrPositioning As Nullable(Of UShort) |
Visual C++ |
---|
public: property Nullable<unsigned short> YCbCrPositioning { Nullable<unsigned short> get (); void set (Nullable<unsigned short> value); } |
Remarks
This field is designated only for JPEG compressed data or uncompressed YCbCr data.
The TIFF default is 1 (centered); but when Y:Cb:Cr = 4:2:2 it is recommended in
this standard that 2 (co-sited) be used to record data, in order to improve the
image quality when viewed on TV systems.
When this field does not exist, the reader shall assume the TIFF default.
In the case of Y:Cb:Cr = 4:2:0, the TIFF default (centered) is recommended.
If the reader does not have the capability of supporting both kinds of YCbCrPositioning,
it shall follow the TIFF default regardless of the value in this field.
It is preferable that readers be able to support both centered and co-sited positioning.
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 |
---|---|
1 | centered |
2 | co-sited |
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.