IIIFImagePlug.V3.Data (IIIFImagePlug v0.5.0)

View Source

Produces image data based on the given IIIF parameters and Plug settings.

Summary

Functions

Get a transformed version of the image defined by identifier and the other provided parameters, validated against the plug's settings.

Functions

get(identifier, region_param, size_param, rotation_param, quality_and_format_param, settings)

Get a transformed version of the image defined by identifier and the other provided parameters, validated against the plug's settings.

Returns

  • {%Vix.Vips.Image{}, format} on success, where format is one of the preferred or extra format atoms defined in the plug settings.
  • {:error, reason} if a parameter was invalid.