IIIFImagePlug.V3.Information (IIIFImagePlug v0.5.0)

View Source

Produces image metadata (info.json).

Summary

Functions

Get the IIIF info.json for the image defined by identifier with respect to the plug's settings.

Functions

get(identifier, conn, settings)

Get the IIIF info.json for the image defined by identifier with respect to the plug's settings.

Returns

  • info as an Elixir map on success.
  • {:error, :no_file} if the identifier did not point to a file.
  • {:error, :no_image_file} if the identifier did not point to a file.