GNOME Bugzilla – Bug 746424
Add additional fields to gexiv2_metadata_get_comment function
Last modified: 2015-03-26 20:19:21 UTC
Add Xmp.dc.subject and Xmp.acdsee.notes fields to gexiv2_metadata_get_comment. Xmp.dc.subject is part of MWG guidelines. Including Xmp.acdsee.notes will help ACDSee users to migrate away from that proprietory Windows application. According to Metadata Working Group guidelines section 5.2, Description, Exif ImageDescription, IPTC Caption, and XMP (dc:description) are mapped together. gexiv2 already includes the first two of those.
Created attachment 299771 [details] [review] adds-Xmp.dc.subject-and-Xmp.acdsee.notes
A question about the gexiv2_metadata_get_comment function. MWG refers to these fields as "description" rather then "comment". Is there a way to setup an alias, such as the function could also be referred to as: gexiv2_metadata_get_description?
Created attachment 299772 [details] [review] TYPO: Xmp.dc.description NOT Xmp.dc.subject Sorry, 1st patch added Xmp.dc.subject. It should have been Xmp.dc.description.
Created attachment 299778 [details] [review] dublin core description patch Original patch had missing line and a typo.
Created attachment 299869 [details] Python test script to read and write description fields. This script confirms that the patch works. A test file with only the Xmp.acdsee.categories tag set was used. The script read in the contents of that tag and wrote that content to the other description tags. Exif.Image.ImageDescription Ascii 92 Quebec - Chateau Frontenac Exif.Photo.UserComment Undefined 99 Quebec - Chateau Frontenac Iptc.Application2.Caption String 91 Quebec - Chateau Frontenac Xmp.acdsee.notes XmpText 91 Quebec - Chateau Frontenac Xmp.dc.description LangAlt 1 lang="x-default" Quebec - Chateau Frontenac
Review of attachment 299778 [details] [review]: Alan, git and patch both report that this patch is malformed at line 49. Could you re-upload?
Created attachment 299912 [details] [review] Fresh patch: MWG addition to get_comment
Thanks! Pushed to master, commit bdc9be3