Extraction of image metadata
This Step Plugin allows the extraction of metadata from image files in order to store them within the METS files.
With the help of this plugin, metadata can be extracted from image files and stored within Goobi's METS files. Here, a use of the Linux programme ExifTool takes place in the background in order to transfer its read image metadata according to individual configuration.
To install the plugin, the following file must be installed:
To configure how the plugin should behave, various parameters can be adjusted within the configuration file. The configuration file is usually located under the following path:
The configuration of the plugin is structured as follows:
<!-- which projects to use for (can be more then one, otherwise use *) -->
<field line="Object Name" metadata="TitleDocMain" />
<field line="Keywords" metadata="SubjectTopic" />
<field line="Special Instructions" metadata="Footnote" />
<field line="City" metadata="PlaceOfPublication" />
<field line="Source" metadata="singleDigCollection" />
<field line="Copyright Notice" metadata="AccessCondition" />
<field line="Caption-Abstract" metadata="Abstract" />
<config>can occur repeatedly for different projects or workflow steps in order to be able to perform different actions within different workflows. The other parameters within this configuration file have the following meanings:
The definition of fields is done with the following parameters:
To put the plugin into operation, it must be activated in a task in the workflow. This is done by selecting the plugin
intranda_step_imageMetadataExtractionfrom the list of installed plugins. Since the plugin relies on a METS/MODS file, the step should take place after the metadata edition.
Assigning the plugin to a specific task
Once the plugin has been fully installed and set up, it is usually run automatically within the workflow, so there is no manual interaction with the user. Instead, the workflow calls the plugin in the background and automatically performs the extraction of the image metadata. This is done by opening the first image file from the media directory of the Goobi process, reading its metadata and storing it on the top logical level of the METS file as the configured metadata.