Summary: | TIFFs generated with digiKam are broken/corrupted | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | Kamil Stepinski <kamil.stepinski> |
Component: | Plugin-DImg-TIFF | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ahuggel, caulier.gilles, wolfi |
Priority: | NOR | ||
Version First Reported In: | 1.0.0 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 6.2.0 | |
Sentry Crash Report: |
Description
Kamil Stepinski
2009-10-27 17:10:10 UTC
Kamil, I think it's fully relevant of Exiv2 library. This file is a duplicate of #211758 *** This bug has been marked as a duplicate of bug 211758 *** How can I reproduce this with Exiv2 alone? Andreas Andreas, The first stage done by digiKam core is to write a tiff file using libtiff... until this step, i think tiff file is not corrupted. It's easy to reproduce a file like this using ImageMagick, when you convert a JPEG to TIFF with convert command line tool The second stage call Exiv2 with libkexiv2 to update all digiKam metadata in file. It's the more complicated stuff, because IPTC, and XMP are created, and some exif tags updated (as image dim, orientation, comment, etc...) Comparing satge 1 and stage 2 images with exiftool can be very instructive. We can generate stage 1 file easily. There is only just one line to comment in source code. Gilles Gilles, Can you follow the steps provided in this bugreport and create the stage 1 and stage 2 files? It sounds like it doesn't matter what file, so a small JPG should be enough and with as little metadata as possible (none?). E.g., try with exiv2/test/data/exiv2-empty.jpg Then please attach all three files here and I'll analyse them in detail. Andreas *** Bug 217593 has been marked as a duplicate of this bug. *** Andreas, i merged this file with #217593. Please switch to this entry... Gilles Bugs 217593, 212072, 211066 and 211758 are now all merged to bug #211758 Fixed with bug #211758 |