Missing documentation regarding supported tiff files
Weimin contacted me today. Steca was not able to process some of his Tiff files. This is not a user issue. Steca can only process Tiff images with
- 32 bits per sample
- and on these two sample formats: SAMPLEFORMAT_INT and SAMPLEFORMAT_IEEEFP see here
I'm not totally sure yet, whether Weimin will ask to expand the range of supported tiff file. However I personally think this is rather a important limitation for data files. So this should be put into the Steca documentation.
On a side note:
The whole situation is even a bit more interesting (maybe even potentially confusing for dev and user). Steca is not capable of processing directly tiff files, but only TiffLog
and TiffDat
files. These two later formats are used within StressSpec files with Metadata and the paths to the tiff files with the image data. Steca will read these TiffLog
and TiffDat
files and then load the specified Tiff files. However: Steca cannot directly read tiff files. This makes sense since additional meta information are required to successfully process image data from tiff files, but it can also be confusing when dealing with this.
Also: It would be possible, to give Steca the ability to process tiff files. A simple user dialog would do the trick.
The already existing function would need three more values (phi, monitor, expTime) to work.
loadTiff(Rawfile* file, const QString& filePath, deg phi, double monitor, double expTime)
If this is ever asked, it should not be too difficult to implement.