Before loading the main binary data, BornAgain reads the following metadata tags from
If any of these tags is not found, an error message will be shown.
The requirement to values of the tags are following:
BitsPerSampleshould be 8, 16 or 32.
SamplesPerPixelshould be 1, which means grayscale image with one channel, corresponding to signal intensity.
SampleFormatshould be 1, 2 (integer numbers) or 3 (floating-point numbers).
SampleFormat==3requires value of
File tags can be checked by external utilites.
In Linux there are
$ tiffinfo file.tiff
$ identify -verbose file.tiff
In Windows AsTiffTagViewer can be used.
Alternatively, online services can show metadata tags.
If there is a case of
tiff data file that is not yet supported, please contact us and provide the example.