Bug 330989 - Add support for XMP Metadata in Image Files
Summary: Add support for XMP Metadata in Image Files
Status: RESOLVED FIXED
Alias: None
Product: frameworks-kfilemetadata
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: Pinak Ahuja
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-10 18:08 UTC by Vishesh Handa
Modified: 2023-11-12 19:03 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Sample image with XMP metadata (DwC) (52.29 KB, image/jpeg)
2014-02-10 18:39 UTC, Alan Pater
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vishesh Handa 2014-02-10 18:08:17 UTC
The current Exiv2 based extractor does not extract XMP Metadata from Image files.
Comment 1 Alan Pater 2014-02-10 18:39:43 UTC
Created attachment 85083 [details]
Sample image with XMP metadata (DwC)

A (small) sample of XMP tags seen in the sample image using exiv2 -px

Xmp.dc.format                                XmpText    10  image/jpeg
Xmp.dc.rights                                LangAlt     1  lang="x-default" © Corbis.  All Rights Reserved.
Xmp.dc.creator                               XmpSeq      1  Corbis
Xmp.exif.DateTimeDigitized                   XmpText    29  2008-03-14T11:31:48.098-07:00
Xmp.exif.DateTimeOriginal                    XmpText    25  2008-03-14T13:59:26-06:00
Xmp.xmp.MetadataDate                         XmpText    29  2013-02-07T21:56:33.820-06:00
Xmp.dwc.Record/dwc:basisOfRecord             XmpText    14  FossilSpecimen
Xmp.dwc.Occurrence/dwc:sex                   XmpText     6  female
Xmp.dwc.Occurrence/dwc:lifeStage             XmpText     3  egg
Xmp.dwc.dctermsLocation/dwc:continent        XmpText    10  Antarctica
Xmp.dwc.dctermsLocation/dwc:verbatimCoordinates XmpText    20  41 05 54S 121 05 34W
Xmp.dwc.Taxon/dwc:scientificName             XmpText    19  Ctenomys sociabilis
Comment 2 Stefan Brüns 2023-11-12 19:03:58 UTC
This is the information currently extracted from the sample file:

/home/stefan/Downloads/DwC-SampleImage.jpg image/jpeg
        Exiv2Extractor For <...>
                Artist: Corbis (QString)
                Document Generated By: http://www.idimager.com (QString)
                Copyright: © Corbis.  All Rights Reserved. (QString)
                Width: 1024 (uint)
                Height: 768 (uint)
                Image Date Time: 2008-03-14T13:59:26.000Z (QDateTime)
                Image Orientation: 1 (int)
                X Dimension: 1024 (qlonglong)
                Y Dimension: 768 (qlonglong)
                Original Date Time: 2008-03-14T13:59:26.000Z (QDateTime)

So XMP fields from Dublin Core (dc) and exif are extracted.