Gets or sets components configuration. See remarks for further information. Constant length of 4.

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

IDDescription
0does not exist
1Y
2Cb
3Cr
4R
5R
6R
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