Gets or sets number of bits per image component. In this standard each component of the image is 8 bits, so the value for this tag is 8. Constant length of 3.

Namespace:  FreeImageAPI.Metadata
Assembly:  FreeImageNET (in FreeImageNET.dll)

Syntax

C#
public ushort[] BitsPerSample { get; set; }
Visual Basic (Declaration)
Public Property BitsPerSample As UShort()
Visual C++
public:
property array<unsigned short>^ BitsPerSample {
	array<unsigned short>^ get ();
	void set (array<unsigned short>^ value);
}

Remarks

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