One for the #reproducibility nerds

Is there an accepted standard (or just some good examples) of how to include provenance metadata within computationally produced images

My specific use case is graphs generated by plotly (python) saved as png where I'd like to record some things like date, software version, data version in the image metadata

There are exif elements for date and "software" but is there a better solution than just shoving info in the description and/or title field? Something that can survive passage through a presentation an added bonus!

(And yes, I do want this in the image metadata, not as a separate file, I'll use the same info to write out a separate manifest)

@cameronneylon I don't think there is an "accepted standard". Probably the most generic you could use is Dublin Core.

There is a XMP dc namespace https://www.exiftool.org/TagNames/XMP.html#dc which could be used to add metadata to the image directly.

> Something that can survive passage through a presentation an added bonus!

I wouldn't trust any processing steps to preserve image metadata though. I think most softwares just strip an image clean before using it.

XMP Tags

@quachpas dc certainly makes sense. And if I did it super properly if I end up in XML there's things like PROV as well

Some brief experimentation showed that XMP metadata seems to be preserved for (otherwise untouched) images that have been inserted into Google Slides and OO Impress presentations and then exported back out (Google doesn't make it easy but I found a way)

Obviously not to be relied on but a potentially useful backup in some cases.