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.
Apache License 2.0
27
stars
5
forks
source link
The Processor now requires URLs in a specific format #30
Hi all, I found an interesting issue while using the module.
Configuration
I'm using the latest version of the iiif-processor module: 4.0.4.
Problem
I got an error when creating a new Processor object passing a URL with this pattern: https://<domain>/.*/iiif/2/.*.
It seems that it is no longer possible to use this kind of pattern.
Going deeper, I see that a regex requires that between the domain and the /iiif/2 part there are no extra strings here https://github.com/samvera/node-iiif/blob/v4.0.4/src/processor.js#L19.
Thanks for bringing this issue to my attention. I'll take a look at it and see if I can come up with a solution. It might be as easy as removing the beginning-of-string anchor (^) from the regex.
Hi all, I found an interesting issue while using the module.
Configuration
I'm using the latest version of the iiif-processor module:
4.0.4
.Problem
I got an error when creating a new
Processor
object passing a URL with this pattern:https://<domain>/.*/iiif/2/.*
. It seems that it is no longer possible to use this kind of pattern. Going deeper, I see that a regex requires that between the domain and the/iiif/2
part there are no extra strings here https://github.com/samvera/node-iiif/blob/v4.0.4/src/processor.js#L19.