[Digikam-devel] [Bug 125916] Problem with opening 16bit TIFF

Gilles Caulier caulier.gilles at free.fr
Sat Aug 19 10:35:47 BST 2006


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=125916         




------- Additional Comments From caulier.gilles free fr  2006-08-19 11:35 -------
Right Marcel. This is certainly a bug in libtiff...

Look in Exif Metadata tab. We have :

- bits per sample   = 16 16 16.
- samples per pixel = 3.

Certainly, something is missing in Digikam::DImg::TiffLoader to use libtiff against library bugs. I recommend you to check the ImageMagick tiffloader implementation (ReadTIFFImage() method) witch work perfectly with the "Spider" picture.

https://subversion.imagemagick.org/subversion/ImageMagick/trunk/coders/tiff.c

Note: in digiKam, we don't test the TIFFTAG_PHOTOMETRIC interpretation of tiff image. In fact if the image is not RGB, a conversion must be done like libtiff can do to import directly all photometric image types to RGB.

Dik, since you have the same problem than Gabor, can you provide another sample image TIFF to test ? Thanks in advance.

Gilles Caulier



More information about the Digikam-devel mailing list