This module provides a full-featured IIIF Image API 2.1 and 3.0 image processor. It covers only the image processing pipeline itself, leaving input and output to the caller.
There was a bug in calculator/base.js (essentially based on me trying to be too clever with size calculations) that was causing errors when using absolute pixel values for region cropping. This version fixes that calculation, and updates a few test expectations based on changes in rounding as a result. I've already pushed it to NPM as v4.0.5-rc.0 to make it easier to test with serverless-iiif.
There was a bug in
calculator/base.js
(essentially based on me trying to be too clever with size calculations) that was causing errors when using absolute pixel values for region cropping. This version fixes that calculation, and updates a few test expectations based on changes in rounding as a result. I've already pushed it to NPM asv4.0.5-rc.0
to make it easier to test withserverless-iiif
.