[Bug 267262] New: Digikam not compliant with "Metadata Working Group" specification when reading caption

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

[Bug 267262] New: Digikam not compliant with "Metadata Working Group" specification when reading caption

Bugzilla from thdox@free.fr
https://bugs.kde.org/show_bug.cgi?id=267262

           Summary: Digikam not compliant with "Metadata Working Group"
                    specification when reading caption
           Product: digikam
           Version: 1.4.0
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Metadata
        AssignedTo: [hidden email]
        ReportedBy: [hidden email]


Version:           1.4.0
OS:                Linux

Here is link to Metadata Working Group specification (=MWG)
http://www.metadataworkinggroup.org/pdf/mwg_guidance.pdf

1. Please start with a jpg image without comment in any metadata field.
2. On command line : exiftool -MWG:Description="Julie" image.jpg
3. The field EXIF:ImageDescription and XMP:Description have been written.
4. When image.jpg is opened in Digikam, the caption (in French "légende") is
empty. In section 3.1.3 "It (the consumer) MUST reconcile between different
forms of metadata in the image.", and in section 5.2, the listed tags are
Exif:ImageDescription IPTC:Caption XMP-dc:description[“x-default”].

Digikam MUST reconcile tags, and prefer EXIF value.


Reproducible: Didn't try

Steps to Reproduce:
1. Please start with a jpg image without comment in any metadata field.
2. On command line : exiftool -MWG:Description="Julie" image.jpg
3. The field EXIF:ImageDescription and XMP:Description have been written.


Actual Results:  
4. When image.jpg is opened in Digikam, the caption (in French "légende") is
empty.

Expected Results:  
In section 3.1.3 "It (the consumer) MUST reconcile between different forms of
metadata in the image.", and in section 5.2, the listed tags are
Exif:ImageDescription IPTC:Caption XMP-dc:description[“x-default”].


Digikam MUST reconcile tags, and prefer EXIF value.

OS: Linux (x86_64) release 2.6.35-25-generic
Compiler: cc

--
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 267262] Digikam not compliant with "Metadata Working Group" specification when reading caption

Bugzilla from thdox@free.fr
https://bugs.kde.org/show_bug.cgi?id=267262





--- Comment #1 from  <thdox free fr>  2011-02-27 17:20:48 ---
Created an attachment (id=57554)
 --> (http://bugs.kde.org/attachment.cgi?id=57554)
File with XMP-dc:Description

--
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 267262] Digikam not compliant with "Metadata Working Group" specification when reading caption

Bugzilla from thdox@free.fr
In reply to this post by Bugzilla from thdox@free.fr
https://bugs.kde.org/show_bug.cgi?id=267262





--- Comment #2 from  <thdox free fr>  2011-02-27 17:36:14 ---
Additional steps:
5. I added the IPTC caption to my image file, using command line : exiftool
-IPTC:Caption-Abstract="Julie" 20050417_0013.jpg (now the tags are synchronized
: Exif:ImageDescription IPTC:Caption XMP-dc:description[“x-default”] )
6. Inside digikam, I did (in French) "Album/Lire à nouveau les métadonnées à
partir des images". Probable translation is "Album/Reread metadata from image
files".
7. Digikam is silently causing data loss by removing IPTC:Caption and
XMP-dc:description.

--
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 267262] Digikam not compliant with "Metadata Working Group" specification when reading caption

Gilles Caulier-4
In reply to this post by Bugzilla from thdox@free.fr
https://bugs.kde.org/show_bug.cgi?id=267262


Gilles Caulier <[hidden email]> changed:

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




--- Comment #3 from Gilles Caulier <caulier gilles gmail com>  2011-03-15 09:20:57 ---
NOTE : In your jpg test image, Exif description is patched but not XMP :

[gilles@localhost test]$ exiv2 -pa 267262.jpg |grep Julie
Exif.Image.ImageDescription                  Ascii       6  Julie

[gilles@localhost test]$ exiv2 -pa 267262.jpg
Exif.Image.ProcessingSoftware                Ascii      14  digiKam-1.4.0
Exif.Image.ImageDescription                  Ascii       6  Julie
Exif.Image.Make                              Ascii      24  OLYMPUS IMAGING
CORP.  
Exif.Image.Model                             Ascii      17  u40D,S500,uD500
Exif.Image.Orientation                       Short       1  top, left
Exif.Image.XResolution                       Rational    1  314
Exif.Image.YResolution                       Rational    1  314
Exif.Image.ResolutionUnit                    Short       1  inch
Exif.Image.Software                          Ascii      32  Version 1.0        
Exif.Image.DateTime                          Ascii      20  2005:04:17 15:03:10
Exif.Image.YCbCrPositioning                  Short       1  Co-sited
Exif.Image.ExifTag                           Long        1  828
Exif.Photo.ExposureTime                      Rational    1  1/60 s
Exif.Photo.FNumber                           Rational    1  F4.1
Exif.Photo.ExposureProgram                   Short       1  Auto
Exif.Photo.ISOSpeedRatings                   Short       1  100
Exif.Photo.ExifVersion                       Undefined   4  2.21
Exif.Photo.DateTimeOriginal                  Ascii      20  2005:04:17 15:03:10
Exif.Photo.DateTimeDigitized                 Ascii      20  2005:04:17 15:03:10
Exif.Photo.ComponentsConfiguration           Undefined   4  YCbCr
Exif.Photo.ExposureBiasValue                 SRational   1  0 EV
Exif.Photo.MaxApertureValue                  Rational    1  F3.1
Exif.Photo.MeteringMode                      Short       1  Multi-segment
Exif.Photo.LightSource                       Short       1  Unknown
Exif.Photo.Flash                             Short       1  Yes, auto, red-eye
reduction
Exif.Photo.FocalLength                       Rational    1  11.5 mm
Exif.Photo.MakerNote                         Undefined 5070  (Binary value
suppressed)
Exif.MakerNote.Offset                        Long        1  1274
Exif.MakerNote.ByteOrder                     Ascii       3  II
Exif.Olympus.SpecialMode                     Long        3  Normal
Exif.Olympus.Quality                         Short       1  High Quality (HQ)
Exif.Olympus.Macro                           Short       1  Off
Exif.Olympus.BWMode                          Short       1  Off
Exif.Olympus.DigitalZoom                     Rational    1  None
Exif.Olympus.FocalPlaneDiagonal              Rational    1  715/100
Exif.Olympus.LensDistortionParams            SShort      6  0 0 0 0 0 0
Exif.Olympus.CameraType                      Ascii       6  D4221
Exif.Olympus.CameraID                        Undefined  32  OLYMPUS DIGITAL
CAMERA        
Exif.Olympus.Equipment                       Undefined 156  (Binary value
suppressed)
Exif.Olympus.CameraSettings                  Undefined 662  (Binary value
suppressed)
Exif.Olympus.RawDevelopment                  Undefined  30  2 0 0 0 7 0 4 0 0 0
48 49 48 48 11 1 3 0 1 0 0 0 0 0 0 0 0 0 0 0
Exif.Olympus.ImageProcessing                 Undefined 324  (Binary value
suppressed)
Exif.Olympus.FocusInfo                       Undefined 3638  (Binary value
suppressed)
Exif.Photo.FlashpixVersion                   Undefined   4  1.00
Exif.Photo.ColorSpace                        Short       1  sRGB
Exif.Photo.PixelXDimension                   Long        1  800
Exif.Photo.PixelYDimension                   Long        1  600
Exif.Photo.InteroperabilityTag               Long        1  6352
Exif.Iop.InteroperabilityIndex               Ascii       4  R98
Exif.Iop.InteroperabilityVersion             Undefined   4  1.00
Exif.Photo.FileSource                        Undefined   1  Digital still
camera
Exif.Photo.CustomRendered                    Short       1  Normal process
Exif.Photo.ExposureMode                      Short       1  Auto
Exif.Photo.WhiteBalance                      Short       1  Auto
Exif.Photo.DigitalZoomRatio                  Rational    1  1.0
Exif.Photo.SceneCaptureType                  Short       1  Standard
Exif.Photo.GainControl                       Short       1  Low gain up
Exif.Photo.Contrast                          Short       1  Normal
Exif.Photo.Saturation                        Short       1  Normal
Exif.Photo.Sharpness                         Short       1  Normal
Exif.Image.PrintImageMatching                Undefined 528  (Binary value
suppressed)
Exif.Thumbnail.Compression                   Short       1  JPEG (old-style)
Exif.Thumbnail.XResolution                   Rational    1  72
Exif.Thumbnail.YResolution                   Rational    1  72
Exif.Thumbnail.ResolutionUnit                Short       1  inch
Exif.Thumbnail.JPEGInterchangeFormat         Long        1  6476
Exif.Thumbnail.JPEGInterchangeFormatLength   Long        1  8458
Iptc.Application2.Program                    String      7  digiKam
Iptc.Application2.ProgramVersion             String      5  1.4.0
Iptc.Application2.DateCreated                Date        8  2005-04-17
Iptc.Application2.TimeCreated                Time       11  15:03:10+00:00
Xmp.xmp.CreatorTool                          XmpText    13  digiKam-1.4.0
Xmp.xmp.CreateDate                           XmpText    19  2005-04-17T15:03:10
Xmp.xmp.MetadataDate                         XmpText    19  2005-04-17T15:03:10
Xmp.xmp.ModifyDate                           XmpText    19  2005-04-17T15:03:10
Xmp.tiff.Software                            XmpText    13  digiKam-1.4.0
Xmp.tiff.DateTime                            XmpText    19  2005-04-17T15:03:10
Xmp.exif.DateTimeOriginal                    XmpText    19  2005:04:17 15:03:10
Xmp.photoshop.DateCreated                    XmpText    19  2005-04-17T15:03:10

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 267262] Digikam not compliant with "Metadata Working Group" specification when reading caption

Gilles Caulier-4
In reply to this post by Bugzilla from thdox@free.fr
https://bugs.kde.org/show_bug.cgi?id=267262


Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|Metadata                    |libkexiv2
            Version|1.4.0                       |2.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 267262] Digikam not compliant with "Metadata Working Group" specification when reading caption

Gilles Caulier-4
In reply to this post by Bugzilla from thdox@free.fr
https://bugs.kde.org/show_bug.cgi?id=267262


Gilles Caulier <[hidden email]> changed:

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




--- Comment #4 from Gilles Caulier <caulier gilles gmail com>  2011-03-15 09:55:51 ---
Git commit be683c328a9df0a418a407e3a56dc5bf73b14f14 by Gilles Caulier.
Committed on 15/03/2011 at 09:54.
Pushed by cgilles into branch 'master'.

do not forget to handle Exif.Image.Description when comment is scanned from
Exif metadata
BUGS: 267262

M  +15   -3    libkexiv2/kexiv2exif.cpp    

http://commits.kde.org/libkexiv2/be683c328a9df0a418a407e3a56dc5bf73b14f14

--
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 267262] Digikam not compliant with "Metadata Working Group" specification when reading caption

Marcel Wiesweg
In reply to this post by Bugzilla from thdox@free.fr
https://bugs.kde.org/show_bug.cgi?id=267262





--- Comment #5 from Marcel Wiesweg <marcel wiesweg gmx de>  2011-04-16 16:00:23 ---
I have encountered a problem with the last commit here: From my camera, the
Exif ImageDescription field is always set to "SONY DSC", so all new photos have
this annoying comment.
No problems with other manufacturers? We could install a blacklist, marking
"SONY DSC" as nonsense content.

--
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 267262] Digikam not compliant with "Metadata Working Group" specification when reading caption

Marcel Wiesweg
In reply to this post by Bugzilla from thdox@free.fr
https://bugs.kde.org/show_bug.cgi?id=267262





--- Comment #6 from Marcel Wiesweg <marcel wiesweg gmx de>  2011-04-17 12:03:04 ---
Git commit 2ff60c357314ed68d3e1481a6a0b45ee785d6a2e by Marcel Wiesweg.
Committed on 17/04/2011 at 12:09.
Pushed by mwiesweg into branch 'master'.

Add blacklist for nonsense values in Exif.Image.ImageDescription (Sony cameras)

CCBUG: 267262

M  +7    -1    libkexiv2/kexiv2exif.cpp    

http://commits.kde.org/libkexiv2/2ff60c357314ed68d3e1481a6a0b45ee785d6a2e

--
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 267262] Digikam not compliant with "Metadata Working Group" specification when reading caption

Gilles Caulier-4
In reply to this post by Bugzilla from thdox@free.fr
https://bugs.kde.org/show_bug.cgi?id=267262

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Version Fixed In|                            |2.0.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
Reply | Threaded
Open this post in threaded view
|

[Bug 267262] Digikam not compliant with "Metadata Working Group" specification when reading caption

Cliff Dugal
In reply to this post by Bugzilla from thdox@free.fr
https://bugs.kde.org/show_bug.cgi?id=267262

Cliff Dugal <[hidden email]> changed:

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

--- Comment #7 from Cliff Dugal <[hidden email]> ---
All of my captions in digiKam are coming up as "OLYMPUS DIGITAL CAMERA        
" for my Olympus Stylus 1030SW. Any chance that this string can be blacklisted
too?

--
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 267262] Digikam not compliant with "Metadata Working Group" specification when reading caption

Marcel Wiesweg
In reply to this post by Bugzilla from thdox@free.fr
https://bugs.kde.org/show_bug.cgi?id=267262

--- Comment #8 from Marcel Wiesweg <[hidden email]> ---
Sure. I believe there's a release freeze for KDE atm, will commit later.

--
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 267262] Digikam not compliant with "Metadata Working Group" specification when reading caption

Marcel Wiesweg
In reply to this post by Bugzilla from thdox@free.fr
https://bugs.kde.org/show_bug.cgi?id=267262

--- Comment #9 from Marcel Wiesweg <[hidden email]> ---
Git commit cb33be41841e62bff20f447ae4e3d42979584df9 by Marcel Wiesweg.
Committed on 04/07/2012 at 21:43.
Pushed by mwiesweg into branch 'master'.

Blacklist nonsense value in Exif.Image.ImageDescription for Olympus cameras

M  +1    -0    libkexiv2/kexiv2exif.cpp

http://commits.kde.org/libkexiv2/cb33be41841e62bff20f447ae4e3d42979584df9

--
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 267262] Digikam not compliant with "Metadata Working Group" specification when reading caption

Gilles Caulier-4
In reply to this post by Bugzilla from thdox@free.fr
https://bugs.kde.org/show_bug.cgi?id=267262

Gilles Caulier <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Version Fixed In|2.0.0                       |3.0.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