I’m a gramps newbie… I’m trying to tag photos with people and have the metadata inc the XMP Region be written to the .jpg media file.
I created a test database with two people in it and I am using the photo tagger add-on. I create a region for each of the two people and select them from the list of existing people - see below screenshot. The xmp region name isnt set and when I click on ‘image metadata’ nothing is listed. Another jpg file that I created elsewhere with regions has region names. When I click on ‘image metadata’ lots of information inc the XMP Regions are listed.
What am I missing? I want to have the metadata written to the .jpg file.
Thanks in anticipation.
Gramps is acting like a sidecar database for the tagging region metadata. It is not editing the embedded metadata.
There have been some faltering attempts at adding support for features akin to ExifTool. But the lack of a broadly supported standard undermined that work.
And my opinion is that the rectangular region definition that Gramps uses internally is too limited. (The positions are expressed as integer percentages. This is ok for small images but float percentages would be needed for large images. This limitation also encourages limiting the interface for defining the rectangular regions to fewer zoom levels.)
They are probably making a mistake there. Percentages allow the metadata rectangles to be applied to all the scaled variants of the images. Pixels are too closely linked to one scale.
Idea: Would retrieving the information with SuperTool allow us to modify the metadata of the jpg file (or create or add information to a xmp file) whose name and location we also have with ST?
This would allow to retrieve from our images what we identified in Gramps. And why not add the names of people in the description tags of the people in the image/xmp too.
Unfortunately, I don’t know how to modify the tags of a jpg file in python, but I imagine that it should be possible to do it.
Thanks for the response - and all the other respondents.
Thank you for that insight. I hadn’t understood that was how it was working. The display of the XMP region field confused me. The display of ‘Age’ is incorrect from my perspective. I expected it to display Elizabeth’s age at the time the photo was taken. I added birth and death events for her. It shows that she is dead instead of being 23 at the time the photo was taken in 1947.
Overall, I am looking for software that writes information from a genealogical database to the photograph. There is a good number of metadata attributes that in my view should be populated with information from the family tree data… ‘the truth is in the metadata!’ Hence my reason for looking at Gramps…
I also played with the ‘edit exif metadata’. It doesn’t show IPTC extension data. There’s a comment in the source that it is filtered. Any reason why?
Also found a bug in it when entering a date in the ‘original date’ field - errors are reported as I type each character.
Finally, does anyone know of any software that will display the regions and the people names as a default? A browser extension perhaps? (I assume the data is in the file)
The Edit Exif Metadata gramplet has not been actively maintained since Rob Healey died in 2012. We use the gexiv2 library which is able read and update EXIF, IPTC, and XMP metadata. I don’t see why IPTC metadata can’t be added.