Summary: | Invalid TIFF output in Editor and Batch queue manager | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | Michal Thoma <michal> |
Component: | Plugin-Bqm-Convert | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 1.0.0 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 1.0.0 | |
Sentry Crash Report: |
Description
Michal Thoma
2009-07-28 11:20:05 UTC
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 |