Gets or sets components configuration. See remarks for further information.
Constant length of 4.
Namespace:
FreeImageAPI.MetadataAssembly: FreeImageNET (in FreeImageNET.dll)
Syntax
C# |
---|
public byte[] ComponentsConfiguration { get; set; } |
Visual Basic (Declaration) |
---|
Public Property ComponentsConfiguration As Byte() |
Visual C++ |
---|
public: property array<unsigned char>^ ComponentsConfiguration { array<unsigned char>^ get (); void set (array<unsigned char>^ value); } |
Remarks
The channels of each component are arranged in order from the 1st component to the 4th.
For uncompressed data the data arrangement is given in the PhotometricInterpretation tag.
However, since PhotometricInterpretation can only express the order of Y,Cb and Cr,
this tag is provided for cases when compressed data uses components other than Y, Cb,
and Cr and to enable support of other sequences.
Default = 4 5 6 0 (if RGB uncompressed)
The following values are defined:
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 |
---|---|
0 | does not exist |
1 | Y |
2 | Cb |
3 | Cr |
4 | R |
5 | R |
6 | R |
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.