AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2007.08.07 10:49 "[Tiff] Problem loading a RGB floating point TIFF", by Mircea Ciocan
2007.08.07 14:02 "Re: [Tiff] Problem loading a RGB floating point TIFF", by Frank Warmerdam

2007.08.07 10:49 "[Tiff] Problem loading a RGB floating point TIFF", by Mircea Ciocan

Hello,

 I'm trying to load some high-dynamic images, both gray scale and RGB,

they are expressed as 32bits floats, the gray scale image ( 1 sample/pix ) loads OK but I have an RGB image that could not be loaded, here are the main tags of those two images:

This image does NOT work:
ImageWidth (1 Short): 637
ImageLength (1 Short): 502
BitsPerSample (3 Short): 32, 32, 32
Compression (1 Short): Uncompressed
Photometric (1 Short): RGB
StripOffsets (1 Long): 8
SamplesPerPixel (1 Short): 3
RowsPerStrip (1 Short): 502
StripByteCounts (1 Long): 3837288
PlanarConfig (1 Short): Contig
SampleFormat (3 Short): 3, 3, 3

This image works:
ImageWidth (1 Short): 1024
ImageLength (1 Short): 6144
BitsPerSample (1 Short): 32
Compression (1 Short): Uncompressed
Photometric (1 Short): MinIsBlack

StripOffsets (6 Long): 8, 4194312, 8388616, 12582920, 16777224,... SamplesPerPixel (1 Short): 1 RowsPerStrip (1 Short): 1024 StripByteCounts (6 Long): 4194304, 4194304, 4194304, 4194304, 4194304,... PlanarConfig (1 Short): Contig SampleFormat (1 Short): 3

The library version is TIFFLIB_VERSION 20060323 and the error code is unsupported format. It seem that this version does not support 3 sample/pix floating point encoding and my question is that if there is a later version that does support that format or if not if support for this format is planned in the near future?

 Thank you for your help and the nice work and best regards,

Mircea Ciocan