Changelog

View Source

0.4.0

Made some minor additional changes to align with IIIF image API spec:

  • Fixed the static value for key "type" in the info.json.
  • Return 404 status code for invalid paths (instead of the 400 in the initial implementation).
  • Redirect to info.json if the request ends with the identifier (i.e. from /path/to/plug/my-image to /path/to/plug/my-image/info.json).
  • Reintroduced override options :port, :host and :scheme for proxy scenarios.

0.3.1

Fixed error with pyramid page optimization was not applied if no vscale was requested. This caused a fallback to full image processing.

0.3.0

Removed the :scheme, :host, :port and :prefix options, those are now evaluated directly from the %Plug.Conn{}.

0.2.0

Added optimization for pyramid tiffs:

  • The info.json may now contain the sizes property, if the identifier refers to a pyramid image.
  • When image data is requested based off an pyramid image, the plug now should select the best matching image from the pyramid and apply an adjusted transformation on that preprocessed lower resolution image (instead of always working on the maximum resolution).

0.1.0

Minimal viable v3 plug.