https://bugs.kde.org/show_bug.cgi?id=275122
Summary: Rotating a TIFF file wipes out its metadata Product: digikam Version: 2.0.0 Platform: Compiled Sources OS/Version: Linux Status: UNCONFIRMED Severity: major Priority: NOR Component: Metadata AssignedTo: [hidden email] ReportedBy: [hidden email] Created an attachment (id=60750) --> (http://bugs.kde.org/attachment.cgi?id=60750) exiv2 -pa output for the test (rotated) file Version: 2.0.0 (using KDE 4.6.2) OS: Linux Rotating a TIFF file with metadata in digikam wipes out most of its metadata. The attachments text files show the output of "exiv2 -pa" on two identical files, before ("reference") and after ("test") the rotation. The reference and test files are also available: http://dl.dropbox.com/u/17707983/rotate-reference.tif http://dl.dropbox.com/u/17707983/rotate-test.tif This issue is particularly problematic, because it causes data loss; relevant metadata like speed, aperture, etc. of a photograph are lost forever. (One could attempt to restore some of the metadata using the values saved in the database, unfortunately metadata can't be written to TIFF files; see bug 271757) Reproducible: Always Steps to Reproduce: * Open a TIFF file with metadata (e.g. the attached reference photograph) * look at the metadata, e.g. using exiv2 -pa <filename.tif> * rotate the picture in digikam * look at the metadata again -- 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 |
https://bugs.kde.org/show_bug.cgi?id=275122
--- Comment #1 from Guillaume Paumier <guillom pom gmail com> 2011-06-07 16:07:46 --- Created an attachment (id=60751) --> (http://bugs.kde.org/attachment.cgi?id=60751) exiv2 -pa output for the reference (prior to rotation) file -- 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 |
In reply to this post by Guillaume Paumier
https://bugs.kde.org/show_bug.cgi?id=275122
Gilles Caulier <[hidden email]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[hidden email] --- Comment #2 from Gilles Caulier <caulier gilles gmail com> 2011-06-07 19:27:42 --- How do you perform rotation ? in editor, or using album icon view (through kipi-plugins) Gilles Caulier -- 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 |
In reply to this post by Guillaume Paumier
https://bugs.kde.org/show_bug.cgi?id=275122
Gilles Caulier <[hidden email]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[hidden email] --- Comment #3 from Gilles Caulier <caulier gilles gmail com> 2011-06-07 19:29:46 --- If you use editor, rotation is performed on touch only image data. Metadata are transfered to target image using Exiv2. Andreas, It can be an libexiv2 issue ? Gilles Caulier -- 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 |
In reply to this post by Guillaume Paumier
https://bugs.kde.org/show_bug.cgi?id=275122
--- Comment #4 from Guillaume Paumier <guillom pom gmail com> 2011-06-07 20:27:09 --- The problem appears (at least) when rotating using the icon in the album view. -- 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 |
In reply to this post by Guillaume Paumier
https://bugs.kde.org/show_bug.cgi?id=275122
--- Comment #5 from Gilles Caulier <caulier gilles gmail com> 2011-06-07 21:01:23 --- From iconview, kipi-plugins is used, and workflow is different. Image is rotated using libtiff, and after metadata after updated using Exiv2. Note : can ypu confirm that rotating through Image editor or Batch Queue Manager in digiKam do not lost metadata ? Gilles Caulier -- 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 |
In reply to this post by Guillaume Paumier
https://bugs.kde.org/show_bug.cgi?id=275122
--- Comment #6 from Guillaume Paumier <guillom pom gmail com> 2011-06-07 21:41:07 --- (In reply to comment #5) > From iconview, kipi-plugins is used, and workflow is different. > > Image is rotated using libtiff, and after metadata after updated using Exiv2. Then maybe this is caused by bug 271757. > Note : can you confirm that rotating through Image editor or Batch Queue > Manager in digiKam do not lost metadata ? As far as my testing can tell: * Rotating through the image editor seems to preserve the metadata; * Unless I'm doing something wrong, rotating through the batch queue manager doesn't seem to rotate at all (!). -- 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 |
In reply to this post by Guillaume Paumier
https://bugs.kde.org/show_bug.cgi?id=275122
--- Comment #7 from Gilles Caulier <caulier gilles gmail com> 2011-06-08 06:48:14 --- Created an attachment (id=60772) --> (http://bugs.kde.org/attachment.cgi?id=60772) Batch Queue Manager Rotate tool in action -- 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 |
In reply to this post by Guillaume Paumier
https://bugs.kde.org/show_bug.cgi?id=275122
--- Comment #8 from Gilles Caulier <caulier gilles gmail com> 2011-07-06 11:26:28 --- We need feedback using a recent version. 2.0.0 RC is out, please test... Thanks in advance Gilles Caulier -- 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 |
In reply to this post by Guillaume Paumier
https://bugs.kde.org/show_bug.cgi?id=275122
--- Comment #9 from Marcel Wiesweg <marcel wiesweg gmx de> 2011-07-11 17:03:43 --- I can confirm this as a kipi-plugins problem. Took a random metadata, used icons to rotate, metadata is gone. Command line output: digikam(5413)/KIPI (general) KIPIJPEGLossLessPlugin::ImageRotate::rotateImageMagick: ImageMagick Command line: ("convert", "-rotate", "90", "/media/fotos/Digikam Sample/TIFF/01-TIF - 8bits - RGB- NONE_1.tiff[0]", "/tmp/kde-marcel/digikamTJ5413kipiplugin-rotate.tiff") convert: /media/fotos/Digikam Sample/TIFF/01-TIF - 8bits - RGB- NONE_1.tiff: invalid TIFF directory; tags are not sorted in ascending order. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/704. convert: /media/fotos/Digikam Sample/TIFF/01-TIF - 8bits - RGB- NONE_1.tiff: unknown field with tag 11 (0xb) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/704. convert: /media/fotos/Digikam Sample/TIFF/01-TIF - 8bits - RGB- NONE_1.tiff: unknown field with tag 18246 (0x4746) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/704. convert: /media/fotos/Digikam Sample/TIFF/01-TIF - 8bits - RGB- NONE_1.tiff: unknown field with tag 18249 (0x4749) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/704. digikam(5413)/KEXIV2 KExiv2Iface::KExiv2::setImageOrientation: Exif.Image.Orientation tag set to: 1 digikam(5413)/KEXIV2 KExiv2Iface::KExiv2::setImagePreview: JPEG image preview size: ( 682 x 1024 ) pixels - 83729 bytes digikam(5413)/KIPI (general) KIPIJPEGLossLessPlugin::Utils::updateMetadataImageMagick: ImageMagick Command line: ("mogrify", "-profile", "/tmp/kde-marcel/digikamhX5413kipipluginsexif.app1", "-profile", "/tmp/kde-marcel/digikamSL5413kipipluginsiptc.8bim", "-profile", "/tmp/kde- marcel/digikamnn5413kipipluginsxmp.xmp", "/tmp/kde-marcel/digikamTJ5413kipiplugin-rotate.tiff[0]") Looks as if we used temp files with stored metadata and then mogrify -profile to rewrite the metadata? -- 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 |
In reply to this post by Guillaume Paumier
https://bugs.kde.org/show_bug.cgi?id=275122
Gilles Caulier <[hidden email]> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|Metadata |JPEGLossLess Product|digikam |kipiplugins -- 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 |
In reply to this post by Guillaume Paumier
https://bugs.kde.org/show_bug.cgi?id=275122
Gilles Caulier <[hidden email]> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|[hidden email] |[hidden email] -- 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 |
In reply to this post by Guillaume Paumier
https://bugs.kde.org/show_bug.cgi?id=275122
Gilles Caulier <[hidden email]> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|[hidden email] |[hidden email] -- 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 |
In reply to this post by Guillaume Paumier
https://bugs.kde.org/show_bug.cgi?id=275122
Guillaume Paumier <[hidden email]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[hidden email] --- Comment #12 from Guillaume Paumier <guillom pom gmail com> 2012-01-28 15:16:05 --- I confirm that afaict the problem has disappeared with the current implementation in git/master. Rotating using the album icons now preserves the metadata in TIFF files. -- 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 |
In reply to this post by Guillaume Paumier
https://bugs.kde.org/show_bug.cgi?id=275122
Gilles Caulier <[hidden email]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED -- 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 |
In reply to this post by Guillaume Paumier
https://bugs.kde.org/show_bug.cgi?id=275122
Gilles Caulier <[hidden email]> changed: What |Removed |Added ---------------------------------------------------------------------------- Version Fixed In| |2.6.0 -- 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 |
In reply to this post by Guillaume Paumier
https://bugs.kde.org/show_bug.cgi?id=275122
[hidden email] changed: What |Removed |Added ---------------------------------------------------------------------------- Component|Workflow |FilesIO-Engine -- You are receiving this mail because: You are the assignee for the bug. |
In reply to this post by Guillaume Paumier
https://bugs.kde.org/show_bug.cgi?id=275122
[hidden email] changed: What |Removed |Added ---------------------------------------------------------------------------- Component|FilesIO-Engine |FilesIO-TIFF -- You are receiving this mail because: You are the assignee for the bug. |
Free forum by Nabble | Edit this page |