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)


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


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


Supported in: 3.12.0, 3.13.0, 3.13.1

See Also