ExtractImageMetadata

Description:

Extract the image metadata from flowfiles containing images. This processor relies on this metadata extractor library https://github.com/drewnoakes/metadata-extractor. It extracts a long list of metadata types including but not limited to EXIF, IPTC, XMP and Photoshop fields. For the full list visit the library's website.NOTE: The library being used loads the images into memory so extremely large images may cause problems.

Tags:

Exif, Exchangeable, image, file, format, JPG, GIF, PNG, BMP, metadata, IPTC, XMP

Properties:

In the list below, the names of required properties appear in bold. Any other properties (not in bold) are considered optional. The table also indicates any default values.

Display NameAPI NameDefault ValueAllowable ValuesDescription
Max Number of AttributesMax Number of AttributesSpecify the max number of attributes to add to the flowfile. There is no guarantee in what order the tags will be processed. By default it will process all of them.

Relationships:

NameDescription
successAny FlowFile that successfully has image metadata extracted will be routed to success
failureAny FlowFile that fails to have image metadata extracted will be routed to failure

Reads Attributes:

None specified.

Writes Attributes:

NameDescription
<directory name>.<tag name>The extracted image metadata will be inserted with the attribute name "<directory name>.<tag name>".

State management:

This component does not store state.

Restricted:

This component is not restricted.

Input requirement:

This component requires an incoming relationship.

System Resource Considerations:

None specified.