Gets or sets the number of components per pixel. Since this standard applies
to RGB and YCbCr images, the value set for this tag is 3. In JPEG compressed
data a JPEG marker is used instead of this tag.
Namespace:
FreeImageAPI.MetadataAssembly: FreeImageNET (in FreeImageNET.dll)
Syntax
C# |
---|
public Nullable<ushort> SamplesPerPixel { get; set; } |
Visual Basic (Declaration) |
---|
Public Property SamplesPerPixel As Nullable(Of UShort) |
Visual C++ |
---|
public: property Nullable<unsigned short> SamplesPerPixel { Nullable<unsigned short> get (); void set (Nullable<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.