Questions about Metadata mappings and PNG files

Gilles Caulier caulier.gilles at gmail.com
Thu Oct 19 09:04:44 BST 2023


Hi,

Le sam. 14 oct. 2023 à 16:42, Dejay Clayton <dejay at dejayclayton.com> a écrit :
>
> Hello, I've enabled "PNG TextualData - Parameters" (PNG.PNG.Image.Parameters) from the PNG section of Exiftool viewer in the digiKam configuration Metadata tab.  When browsing PNG files that have this field, I see the appropriate entries in digiKam's Metadata tab.  Thus, I know that this functionality works in digiKam, and is also populated in the PNG files I'm viewing.
>
> How do I "manage metadata namespaces" in digiKam's advanced configuration tab, so that I can perform Advanced Searches that query this particular field from PNG files?  I've tried adding all sorts of mappings to the "Caption" field metadata to try to accomplish this, including values such as "Exif.PNG.Parameters", "Exif.PNG.PNG.Parameters", "Exif.PNG.Image.Parameters", "Exif.PNG.PNG.Image.Parameters", "Xmp.exif.PNG.Parameters", etc. etc..  Nothing seems to work.

Not at all. This kind of Exif/XMP tags do not exist in the Exiv2
library. This one is used in the background to play with tags, even if
ExifTool is used as a backend for IO on files. We have a wrapper to
convert from Exiv2 to ExifTool and vis-versa.

So look the right syntax in Exiv2 documentation:

https://exiv2.org/metadata.html

>
> A few questions.  First, where does the list of valid values for metadata mapping come from?  I notice that none of the namespace identifiers in advanced metadata mapping are equivalent to the namespaces within the Exiftool viewer.  E.g. "Tags" -> "Xmp.lr.hierarchicalSubjects" appears in the advanced mapping tab, but "XMP.XMP-lr.Image.HierarchicalSubject" appears in the Exiftool viewer.  Do these identifiers correlate to each other at all?

See my previous response.

>
> Second, how can I map the PNG TextualData Parameters to Caption in digiKam, so that I can perform an Advanced Search on that field?

This is automatic with Exif or Xmp if right namespace are used with tags.

>
> As a final observation, using mailing lists for support seems so stuck in the 1980's.
>

But it works and we have a history. Multiplying the channel to give
support is time consuming, except if you want to do it of course.

Best

Gilles Caulier


More information about the Digikam-devel mailing list