[Bug 212072] New: TIFFs generated with digiKam are broken/corrupted

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 212072] New: TIFFs generated with digiKam are broken/corrupted

Bugzilla from kamil.stepinski@gmail.com
https://bugs.kde.org/show_bug.cgi?id=212072

           Summary: TIFFs generated with digiKam are broken/corrupted
           Product: digikam
           Version: 1.0.0-beta5
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: [hidden email]
        ReportedBy: [hidden email]


Version:           1.0.0-beta5 (using KDE 4.3.2)
OS:                Linux
Installed from:    Ubuntu Packages

The bug is easy to reproduce (at least on my system).

1. I open a JPG photo in digiKam. Some usual stuff then -> levels, curves,
colours, sharpening. I want to work on the photo further in GIMP so I click on
"Save As" in digiKam and save the photo as a TIF file ("Compress TIFF files"
option is ticked).

2. I try to open the TIF in GIMP but it seems the file is corrupted. It shows
the file as having two pages.
Screenshot:
http://farm3.static.flickr.com/2752/4050395742_d0fcdbe724_o.png

3. The best results I was able to get are heavily distorted. Looks like
somebody played with Solarise and Emboss filters. The photo looks the same when
trying to open it with Gwenview.
Screenshot:
http://farm4.static.flickr.com/3580/4049650515_c3d133dfde_o.jpg

4. Finally after trying to open the file in GIMP several times the X (or Kwin)
gave up the ghost and I was brought back to the login screen which really
sucked as I had a number of apps open before. ;)

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 212072] TIFFs generated with digiKam are broken/corrupted

Gilles Caulier-4
https://bugs.kde.org/show_bug.cgi?id=212072


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
          Component|general                     |Metadata
         Resolution|                            |DUPLICATE




--- Comment #1 from Gilles Caulier <caulier gilles gmail com>  2009-10-27 18:20:13 ---
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 ***

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 212072] TIFFs generated with digiKam are broken/corrupted

Bugzilla from ahuggel@gmx.net
In reply to this post by Bugzilla from kamil.stepinski@gmail.com
https://bugs.kde.org/show_bug.cgi?id=212072


Andreas Huggel <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]




--- Comment #2 from Andreas Huggel <ahuggel gmx net>  2009-10-27 19:59:16 ---
How can I reproduce this with Exiv2 alone?

Andreas

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 212072] TIFFs generated with digiKam are broken/corrupted

Gilles Caulier-4
In reply to this post by Bugzilla from kamil.stepinski@gmail.com
https://bugs.kde.org/show_bug.cgi?id=212072





--- Comment #3 from Gilles Caulier <caulier gilles gmail com>  2009-10-27 20:06:37 ---
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

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 212072] TIFFs generated with digiKam are broken/corrupted

Bugzilla from ahuggel@gmx.net
In reply to this post by Bugzilla from kamil.stepinski@gmail.com
https://bugs.kde.org/show_bug.cgi?id=212072





--- Comment #4 from Andreas Huggel <ahuggel gmx net>  2009-10-28 13:27:47 ---
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

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 212072] TIFFs generated with digiKam are broken/corrupted

Gilles Caulier-4
In reply to this post by Bugzilla from kamil.stepinski@gmail.com
https://bugs.kde.org/show_bug.cgi?id=212072


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]




--- Comment #5 from Gilles Caulier <caulier gilles gmail com>  2009-12-06 15:45:43 ---
*** Bug 217593 has been marked as a duplicate of this bug. ***

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 212072] TIFFs generated with digiKam are broken/corrupted

Gilles Caulier-4
In reply to this post by Bugzilla from kamil.stepinski@gmail.com
https://bugs.kde.org/show_bug.cgi?id=212072





--- Comment #6 from Gilles Caulier <caulier gilles gmail com>  2009-12-06 16:00:38 ---
Andreas, i merged this file with #217593. Please switch to this entry...

Gilles

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 212072] TIFFs generated with digiKam are broken/corrupted

Marcel Wiesweg
In reply to this post by Bugzilla from kamil.stepinski@gmail.com
https://bugs.kde.org/show_bug.cgi?id=212072





--- Comment #7 from Marcel Wiesweg <marcel wiesweg gmx de>  2009-12-06 17:23:33 ---
Bugs 217593, 212072, 211066 and 211758 are now all merged to bug #211758

--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel
Reply | Threaded
Open this post in threaded view
|

[Bug 212072] TIFFs generated with digiKam are broken/corrupted

Gilles Caulier-4
In reply to this post by Bugzilla from kamil.stepinski@gmail.com
https://bugs.kde.org/show_bug.cgi?id=212072


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|1.0.0-beta5                 |1.0.0




--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
Digikam-devel mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-devel