Functions to extract and interpret image XMP data.
Summary
Functions
Extracts an XMP metadata blob into an Elixir map.
Functions
Extracts an XMP metadata blob into an Elixir map.
Arguments
xmpis either the raw XMP XML payload as a string, or a parsedSweetXmlxml element. This is the form libvips returns fromVix.Vips.Image.header_value(image, "xmp-data").
Returns
- A map keyed by atom field names (
:artist,:keywords,:created_at,:rating, …) with the parsed values.