Gets or sets pixel composition. In JPEG compressed data a JPEG marker is
used instead of this tag. See remarks for further information.
Namespace:
FreeImageAPI.MetadataAssembly: FreeImageNET (in FreeImageNET.dll)
Syntax
| C# |
|---|
public Nullable<ushort> PhotometricInterpretation { get; set; } |
| Visual Basic (Declaration) |
|---|
Public Property PhotometricInterpretation As Nullable(Of UShort) |
| Visual C++ |
|---|
public: property Nullable<unsigned short> PhotometricInterpretation { Nullable<unsigned short> get (); void set (Nullable<unsigned short> value); } |
Remarks
The following values are definied:
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 |
|---|---|
| 2 | RGB |
| 6 | YCbCr |
| 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.