Version: 1.0.0-b3 (using KDE 4.2.2) OS: Linux Installed from: Ubuntu Packages The Save as TIFF in editor and also convert to TIFF in Batch queue manager creates invalid file which can't be open later with Digikam or anything else. The thumbnail is created and displayed though the view and edit of the file is not possible. The GIMP also won't open the file and so won't Adobe Photoshop CS2. The both compressed and uncompressed TIFFs are invalid. I tried to save TIFF in Editor with 0.10.0 and there was no problem.
Tiff metadata are patched by Exiv2 library after that TIFF file is created. Go to Help/Components Info dialog and look which Exiv2 version you use. Anyway, i recommend to use Exiv2 0.18.2 with digiKam... Gilles Caulier
I have LibExiv2 0.18 and LIBTIFF 3.8.2
Libtiff is fine. but updated Exiv2 to 0.18.2 and try again. Note : digiKam and libkexiv2 need to be recompiled... Gilles Caulier
OK, I'll give it a try though will take me some time...
I was thinking and I have some doubts that Exiv2 is culprit. When I edit metadata like caption of TIFF image, it's written correctly and image can be still displayed correctly... I uploaded invalid tiff here for reference: http://michal.thoma.cz/digikam/bad-tiff.tif
SVN commit 1005615 by mwiesweg: If the image does not have alpha, we must not set TIFFTAG_EXTRASAMPLES at all. If setting UNASSOC_ALPHA, libtiff assumes the last value for a pixel is a mask. When settings samples_per_pixel to three, there are 3-1=2 color channels left which libtiff (and noone really) cannot handle. BUG: 201746 M +3 -1 NEWS M +0 -2 libs/dimg/loaders/tiffloader.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1005615
SVN commit 1012254 by cgilles: backport commit #1005615 CCBUGS: 201746 M +0 -2 kpwriteimage.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1012254