|Extension TIFF Tag SampleFormat|
TIFF Tag Reference
TIFF Tag SampleFormat
Specifies how to interpret each data sample in a pixel.
The specification defines these values:
1 = unsigned integer data
LibTiff defines these values, and adds two more to cover complex sample formats:
SAMPLEFORMAT_UINT = 1;
SAMPLEFORMAT_COMPLEXINT = 5;
Note that the SampleFormat field does not specify the size of data samples; this is still done by the BitsPerSample field.
A field value of undefined is a statement by the writer that it did not know how to interpret the data samples; for example, if it were copying an existing image. A reader would typically treat an image with undefined data as if the field were not present (i.e. as unsigned integer data).