[Bug 214636] New: updating tag to XMP/IPTC bug

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

[Bug 214636] updating tag to XMP/IPTC bug

Marcel Wiesweg
https://bugs.kde.org/show_bug.cgi?id=214636


Marcel Wiesweg <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |UPSTREAM




--- Comment #20 from Marcel Wiesweg <marcel wiesweg gmx de>  2009-12-20 15:46:00 ---
Created Exiv2 ticket 663.

http://dev.exiv2.org/issues/show/663

--
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 214636] updating tag to XMP/IPTC bug

Olivier Becquaert
In reply to this post by Olivier Becquaert
https://bugs.kde.org/show_bug.cgi?id=214636





--- Comment #21 from Olivier Becquaert <supercow sfr fr>  2009-12-23 08:00:00 ---
(In reply to comment #20)
One thing that I still don't understand :
- setting tag and press "Apply" => metadata KO in photo, but digikam tag
database OK
- using tool "Sync Meta Data for all images" => metada OK in photo, digikam tag
database OK

what is the difference in term of command line behind syncing medata ?

--
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 214636] updating tag to XMP/IPTC bug

Bugzilla from ahuggel@gmx.net
In reply to this post by Olivier Becquaert
https://bugs.kde.org/show_bug.cgi?id=214636





--- Comment #22 from Andreas Huggel <ahuggel gmx net>  2009-12-23 09:16:48 ---
Olivier, Marcel,

Please have a look at the discussion in the Exiv2 bug:
http://dev.exiv2.org/issues/show/663

Two of the images provided with that bug report, Photo1-beforemodif-tagLyon.JPG
and Photo2-beforemodif-tagCuisine.JPG, already have a weird JPEG structure.

We would like to understand what caused this, especially since it looks like
digiKam/exiv2 may have played a role in the process.

The questions are: How were these two images processed after they were
downloaded from the camera? What are the steps to reproduce such images?

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 214636] updating tag to XMP/IPTC bug

Gilles Caulier-4
In reply to this post by Olivier Becquaert
https://bugs.kde.org/show_bug.cgi?id=214636





--- Comment #23 from Gilles Caulier <caulier gilles gmail com>  2009-12-23 09:22:11 ---
Andreas,

With digiKam, the camera interface provide severals options to fix or adjust
jpeg as date or orientation, and with new 1.0.0, apply metadata template for
XMP to set autors and copyright. In all case, metadata are touched a little
bits.

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 214636] updating tag to XMP/IPTC bug

Gilles Caulier-4
In reply to this post by Olivier Becquaert
https://bugs.kde.org/show_bug.cgi?id=214636





--- Comment #24 from Gilles Caulier <caulier gilles gmail com>  2009-12-23 09:23:05 ---
Andreas,

Do you have installed digiKam 1.0.0 on your computer ?

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
Reply | Threaded
Open this post in threaded view
|

[Bug 214636] updating tag to XMP/IPTC bug

Bugzilla from mul@rentapacs.de
In reply to this post by Olivier Becquaert
https://bugs.kde.org/show_bug.cgi?id=214636


Michael Ulbrich <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[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
Reply | Threaded
Open this post in threaded view
|

[Bug 214636] updating tag to XMP/IPTC bug

Bugzilla from ahuggel@gmx.net
In reply to this post by Olivier Becquaert
https://bugs.kde.org/show_bug.cgi?id=214636





--- Comment #25 from Andreas Huggel <ahuggel gmx net>  2009-12-23 09:54:57 ---
Gilles,

The pictures submitted with the Exiv2 bugreport don't just have somewhat
illegal metadata.

They have a JPEG structure that doesn't make sense - each has two APP1 XMP
segments and two (broken) APP13 Photoshop segments.

We need to find out what caused that.

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 214636] updating tag to XMP/IPTC bug

Bugzilla from ahuggel@gmx.net
In reply to this post by Olivier Becquaert
https://bugs.kde.org/show_bug.cgi?id=214636





--- Comment #26 from Andreas Huggel <ahuggel gmx net>  2009-12-23 09:59:28 ---
> Andreas,
>
> Do you have installed digiKam 1.0.0 on your computer ?
>
> Gilles Caulier

I saw you released 1.0.0. Great work, congratulations to the entire team!
Once I manage to get Exiv2 0.19 out of the door, I will give it a try too.

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 214636] updating tag to XMP/IPTC bug

Gilles Caulier-4
In reply to this post by Olivier Becquaert
https://bugs.kde.org/show_bug.cgi?id=214636





--- Comment #27 from Gilles Caulier <caulier gilles gmail com>  2009-12-23 10:02:00 ---
Andreas,

Thanks (:=)))...

The only way where jpeg section are touched during download is, if i'm not to
wrong, with the orientation adjustment option.

The code is based on transupp tool from libjpeg. Take a look there :

http://lxr.kde.org/source/extragear/graphics/digikam/libs/jpegutils/jpegutils.cpp#279

But, i'm suprized to see a bug here, because this tool exist since a long time
now...

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 214636] updating tag to XMP/IPTC bug

Bugzilla from mul@rentapacs.de
In reply to this post by Olivier Becquaert
https://bugs.kde.org/show_bug.cgi?id=214636





--- Comment #28 from Michael Ulbrich <mul rentapacs de>  2009-12-23 11:09:31 ---
(In reply to comment #25)

> They have a JPEG structure that doesn't make sense - each has two APP1 XMP
> segments and two (broken) APP13 Photoshop segments.

Gilles, Andreas,

the "beforemodif" images from Olivier's attachment "photos enclosed" (38951)
basically have the same metadata structure:

Photo1:

APP1  (XMP)
APP13 (IPTC)
APP13 (IPTC)
APP1  (XMP)

Photo2:

APP1  (XMP)
APP13 (IPTC) -> broken length -> parser get's out of sync
APP13 (IPTC)
APP1  (XMP)

Besides the duplication issue, structure and lengths are otherwise ok.

Probably a look at the individual Tags will provide some insight:

Photo1:
-------

APP1  (XMP)
 Software = digiKam-rc..-rc
 CreatorTool = digiKam-rc..-rc

APP13 (IPTC)
 Originating Program = digiKam
 Program Version = rc..-rc

APP13 (IPTC)
 Originating Program = digiKam
 Program Version = rc..-rc
 Keywords = Lyon

APP1  (XMP)
 Software = digiKam-rc..-rc
 Orientation = 1
 ImageWidth = 1704
 ImageHeight = 2272
 CreatorTool = digiKam-1.0.0-beta6
 ExifImageWidth = 1704
 ExifImageHeight = 2272
 TagsList = Lieu/Rh..ne-Alpes/Lyon
 HierarchicalSubject = Lieu|Rh..ne-Alpes|Lyon
 Subject = Lyon

Photo2:
-------

APP1  (XMP)
 Software = digiKam-rc..-rc
 CreatorTool = digiKam-rc..-rc
 TagsList = Themes/Cuisine
 HierarchicalSubject = Themes|Cuisine
 Subject = Cuisine

APP13 (IPTC)
 OriginatingProgram = digiKam
 ProgramVersion = rc..-rc
 Keywords = Cuisine       -> broken length points after this tag
 Keywords = Lyon
 Keywords = Cuisine

APP13 (IPTC)
 OriginatingProgram = digiKam
 ProgramVersion = rc..-rc
 Keywords = Lyon
 Keywords = Cuisine

APP1  (XMP)
 Software = digiKam-rc..-rc
 CreatorTool = digiKam-1.0.0-beta6
 TagsList = Lieu/Rh..ne-Alpes/Lyon/MaisonLyon
 TagsList = Themes/Cuisine
 HierarchicalSubject = Lieu|Rh..ne-Alpes|Lyon|MaisonLyon
 HierarchicalSubject = Themes|Cuisine
 Subject = MaisonLyon
 Subject = Cuisine

There is a certain correspondence between first XMP and first IPTC. Likewise
for the second pair. So the each pair seem to be written in the same context.
But why at all the duplication? Could it be that metadata of the same image is
opened by individual program modules and saved twice?

Just curious ... Michael Ulbrich

--
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 214636] updating tag to XMP/IPTC bug

Gilles Caulier-4
In reply to this post by Olivier Becquaert
https://bugs.kde.org/show_bug.cgi?id=214636


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
Reply | Threaded
Open this post in threaded view
|

[Bug 214636] updating tag to XMP/IPTC bug

Olivier Becquaert
In reply to this post by Olivier Becquaert
https://bugs.kde.org/show_bug.cgi?id=214636





--- Comment #29 from Olivier Becquaert <supercow sfr fr>  2009-12-31 18:53:29 ---
Hi,

I have tried with another camera and the problem still exist...with portrait or
landscape pictures...
so it is not camera dependant or orientation dependant.

regards
Olivier

--
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
12