2006.11.13 10:04 "[Tiff] Cannot read 96 bpp tiff image", by Kacem Bekri

2006.11.13 10:34 "Re: [Tiff] Cannot read 96 bpp tiff image", by Joris Van Damme

Kacem,

Images are 32 bits per sample (RGB - 96 bpp)

Presumably, that's 32 bits floating point format. Would you mind sending a sample to my e-mail address?

When I am using LibTiff to load may image, it writes:

Lightmap_HDR_top.tif: Sorry, can not handle images with 32-bit samples.

That's an error message that is typical of LibTiff RGBA interface.

I think that libtiff know how to load 96 bits tiff because, FreeImage project is using libtiff and can handle 96-bit images since v3.7.2.

Aside from the higher level RGBA interface, LibTiff offers lower level strip/tile access. That way, you can access much that the RGBA interface can't handle. The benefit and drawback both is you have to do a lot of work yourself, there's no translation into a single colorspace and bitdepth, you get exactly what is there whatever that is and need to be able to handle it.

For an explanation on how to use it, see http://www.remotesensing.org/libtiff/libtiff.html#strips,

http://www.remotesensing.org/libtiff/libtiff.html#tiles, and

http://www.remotesensing.org/libtiff/man/index.html.

Joris Van Damme
info@awaresystems.be
http://www.awaresystems.be/
Download your free TIFF tag viewer for windows here:
http://www.awaresystems.be/imaging/tiff/astifftagviewer.html