RSS/Atom feed Twitter
Site is read-only, email is disabled

MWG composite functions & gexiv2

This discussion is connected to the gimp-developer-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

7 of 7 messages available
Toggle history

Please log in to manage your subscriptions.

MWG composite functions & gexiv2 Alan Pater 20 Mar 05:41
  MWG composite functions & gexiv2 Alan Pater 20 Mar 21:07
   MWG composite functions & gexiv2 Alan Pater 24 Mar 16:07
  MWG composite functions & gexiv2 Alan Pater 27 Mar 19:45
   MWG composite functions & gexiv2 Alan Pater 31 Mar 20:13
    MWG composite functions & gexiv2 Michael Schumacher 31 Mar 20:26
    MWG composite functions & gexiv2 Alan Pater 31 Mar 21:28
Alan Pater
2015-03-20 05:41:59 UTC (about 9 years ago)

MWG composite functions & gexiv2

I have been talking with Jim Nelson about adding composite functions to gexiv2. These would be based on Metadata Working Group guidelines with the addition of a couple of commonly-requested formats.

https://bugzilla.gnome.org/show_bug.cgi?id=712429

I can do a lot of the grunt work and testing, but need a hand with some of the conversions, from xml for example. Who would like to volunteer to give me a hand?

I think it makes sense to do this work in gexiv2, that way all the individual applications don't have to maintain duplicate code for these functions themselves. And by abiding to MWG standards, everyone doesn't have to reinvent the wheel and come up their own set of common metadata properties.

Here is a link to the MWG Guidelines: http://www.metadataworkinggroup.org/pdf/mwg_guidance.pdf

My thoughts are to also include support for reading proprietary metadata from ACDSee, as there appears to be a lot of requests from users of that Windows app to migrate to a Free Software alternative.

Volunteers?

Cheers, Alan

On Thu, Mar 19, 2015 at 10:19 PM, Jim Nelson wrote:

Alan,

I would like to ask if I should jump and provide patches for MWG composite tag functions in gexiv2?

That would be great. I agree with your comment there, this seems to be a no-brainer.

My coding skills are quite basic, but this work looks like a reasonable match for me. I would need a bit of help with some of the more complex data conversions. Is this something likely to be incorporated on a timely basis? Are there resources available to test my work?

Unfortunately, the time I can offer toward gexiv2 is extremely limited. If you need help, I would recommend reaching out to other contributors (either directly or on the gexiv2 mailing list) for guidance. In particular, the GIMP project may be interested in your work, now that GIMP has a hard dependency on gexiv2. Michael Natterer and Jehan Pages are the first people I would contact.

I have gone ahead and added a couple of fields to the existing set_comment function in gexiv2.

I'll take a look at your patch.

-- Jim

Alan Pater
2015-03-20 21:07:53 UTC (about 9 years ago)

MWG composite functions & gexiv2

I have gone ahead with the first patch of the series, adding the xmp.dc.description property to the get_comment function in gexiv2. Comments and testers are very welcome.

https://bugzilla.gnome.org/show_bug.cgi?id=746424

On Fri, Mar 20, 2015 at 12:41 AM, Alan Pater wrote:

I have been talking with Jim Nelson about adding composite functions to gexiv2. These would be based on Metadata Working Group guidelines with the addition of a couple of commonly-requested formats.

https://bugzilla.gnome.org/show_bug.cgi?id=712429

I can do a lot of the grunt work and testing, but need a hand with some of the conversions, from xml for example. Who would like to volunteer to give me a hand?

I think it makes sense to do this work in gexiv2, that way all the individual applications don't have to maintain duplicate code for these functions themselves. And by abiding to MWG standards, everyone doesn't have to reinvent the wheel and come up their own set of common metadata properties.

Here is a link to the MWG Guidelines: http://www.metadataworkinggroup.org/pdf/mwg_guidance.pdf

My thoughts are to also include support for reading proprietary metadata from ACDSee, as there appears to be a lot of requests from users of that Windows app to migrate to a Free Software alternative.

Volunteers?

Cheers, Alan

On Thu, Mar 19, 2015 at 10:19 PM, Jim Nelson wrote:

Alan,

I would like to ask if I should jump and provide patches for MWG composite tag functions in gexiv2?

That would be great. I agree with your comment there, this seems to be a no-brainer.

My coding skills are quite basic, but this work looks like a reasonable match for me. I would need a bit of help with some of the more complex data conversions. Is this something likely to be incorporated on a timely basis? Are there resources available to test my work?

Unfortunately, the time I can offer toward gexiv2 is extremely limited. If you need help, I would recommend reaching out to other contributors (either directly or on the gexiv2 mailing list) for guidance. In particular, the GIMP project may be interested in your work, now that GIMP has a hard dependency on gexiv2. Michael Natterer and Jehan Pages are the first people I would contact.

I have gone ahead and added a couple of fields to the existing set_comment function in gexiv2.

I'll take a look at your patch.

-- Jim

Alan Pater
2015-03-24 16:07:52 UTC (about 9 years ago)

MWG composite functions & gexiv2

A few more details on this project. By including MWG guidelines at the shared library level, current and future applications can all benefit and don't have to reinvent the wheel.

I guess what I am looking for is a mentor to guide me through the code and provide a coding basis for some of the conversion functions.

https://bugzilla.gnome.org/show_bug.cgi?id=712429

On Fri, Mar 20, 2015 at 4:07 PM, Alan Pater wrote:

I have gone ahead with the first patch of the series, adding the xmp.dc.description property to the get_comment function in gexiv2. Comments and testers are very welcome.

https://bugzilla.gnome.org/show_bug.cgi?id=746424

On Fri, Mar 20, 2015 at 12:41 AM, Alan Pater wrote:

I have been talking with Jim Nelson about adding composite functions to gexiv2. These would be based on Metadata Working Group guidelines with the addition of a couple of commonly-requested formats.

https://bugzilla.gnome.org/show_bug.cgi?id=712429

Alan Pater
2015-03-27 19:45:57 UTC (about 9 years ago)

MWG composite functions & gexiv2

On Fri, Mar 20, 2015 at 12:41 AM, Alan Pater wrote:

I have been talking with Jim Nelson about adding composite functions to gexiv2. These would be based on Metadata Working Group guidelines with the addition of a couple of commonly-requested formats.

https://bugzilla.gnome.org/show_bug.cgi?id=712429

Here is a link to the MWG Guidelines: http://www.metadataworkinggroup.org/pdf/mwg_guidance.pdf

In the hope of finding a real developer to help with this, I have put together a quick list of bugs from various projects that, I think, would benefit from this work. Specifically what I need help with are writing a few conversion functions, for example from xml to a separated string. Any volunteers?

// GIMP bugs https://bugzilla.gnome.org/page.cgi?id=browse.html&product=gimp Bug 118202 - [TRACKING BUG] Metadata improvements Bug 61499 - easy way to view/edit image metadata (author, copyright, image title, etc.)
Bug 727270 - Proposal to add gimp_metadata_set_from_iptc Bug 349224 - Creative Commons licenses integration

// Shotwell bugs https://bugzilla.gnome.org/page.cgi?id=browse.html&product=shotwell Bug 718518 - Move EXIF date handling logic into gexiv2 Bug 717172 - view/edit all photo metadata Bug 719173 - Read face 'tags' from Samsung Galaxy S3 mobile photos Bug 717713 - Shotwell fails to split a comma separated keyword list during import from XMP-dc:Subject Bug 718107 - Xmp.dc.description or Iptc.Application2.Caption is not imported with accented characters Bug 731255 - Inconsistency in reporting date after editing it. Bug 735069 - Shotwell overwrites time stamps in metadata when those are changed outside shotwell

// gexiv2 bugs https://bugzilla.gnome.org/page.cgi?id=browse.html&product=gexiv2 Bug 712463 - Some date formats in the wild do not conform to EXIF standard.
Bug 737495 - Add support for Exif.GPSInfo.GPSTimeStamp / Rational [3] Bug 723794 - "Unsupported time format" error when loading image w/ Darwin Core metadata
Bug 712431 - Add milliseconds to get_date_time() in GExiv2.py Bug 712430 - GDateTime accessor

// eog bugs https://bugzilla.gnome.org/page.cgi?id=browse.html&product=eog Bug 515265 - use exiv2 as metadata source Bug 719621 - Rotating image destroys XMP and IPTC metadata Bug 341653 - Add support for IPTC-NAA Bug 699297 - Image Properties should prominently show Title and Comments

// Nautilus bugs https://bugzilla.gnome.org/page.cgi?id=browse.html&product=nautilus Bug 729685 - edit, metadata, music, photos.

// sushi bugs https://bugzilla.gnome.org/page.cgi?id=browse.html&product=sushi Bug 730391 - EXIF orientation information incorrectly interpreted for CR2 (Canon RAW) files

// gthumb bugs https://bugzilla.gnome.org/page.cgi?id=browse.html&product=gthumb 28 bugs found
Bug 669026 - Changing metadata does not change file modification time Bug 456699 - Geotagging on GThumb Bug 417824 - Sorting images by Comment Date Bug 621478 - Changing EXIF date corrupts the JPEG thumbnail

Alan Pater
2015-03-31 20:13:48 UTC (about 9 years ago)

MWG composite functions & gexiv2

As a picture is worth a thousand words, I built a mockup based on the GIMP metadata editor. The Exif tab has been left alone as a lot of that data comes straight from the camera. The XMP and IPTC tabs have been merged and separated into tabs called: Who, What, Where, When according to Metadata Working Group guidelines.

Under the hood, gexiv2 composite functions would be used to read and write to the correct metadata fields.

Michael Schumacher
2015-03-31 20:26:27 UTC (about 9 years ago)

MWG composite functions & gexiv2

On 03/31/2015 10:13 PM, Alan Pater wrote:

As a picture is worth a thousand words,

And would go to about 1000 subscribers. The list converts messages to plain text and drops attachments.

Please upload your image somewhere and provide the URL Thanks.

Regards,
Michael
GPG: 96A8 B38A 728A 577D 724D 60E5 F855 53EC B36D 4CDD
Alan Pater
2015-03-31 21:28:30 UTC (about 9 years ago)

MWG composite functions & gexiv2

Apologies. Let's try without attachments!

As a picture is worth a thousand words, I built a mockup based on the GIMP metadata editor. The Exif tab has been left alone as a lot of that data comes straight from the camera. The XMP and IPTC tabs have been merged and separated into tabs called: Who, What, Where, When according to Metadata Working Group guidelines.

Under the hood, gexiv2 composite functions would be used to read and write to the correct metadata fields.

Results can be seen on the following links:

http://www.vcn.bc.ca/~apater/01who.png http://www.vcn.bc.ca/~apater/02what.png http://www.vcn.bc.ca/~apater/03where.png http://www.vcn.bc.ca/~apater/04when.png