--
-- You received this message because you are subscribed to the IIIF-Discuss Google group. To post to this group, send email to iiif-d...@googlegroups.com. To unsubscribe from this group, send email to iiif-discuss...@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/iiif-discuss?hl=en
---
You received this message because you are subscribed to the Google Groups "IIIF Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to iiif-discuss...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
The IIIF Image API URI for requesting an image must conform to the following URI Template:
{scheme}://{server}{/prefix}/{identifier}/{region}/{size}/{rotation}/{quality}.{format}
The server is aware of scheme, server, prefix, so we can factor those right out. Then starting from the right, tokenize by . and /
the first token is format, second is quality, third rotation, forth size, fifth is region and the rest of the tokens comprise the identifier.
-Justin
When the base URI is dereferenced, the interaction SHOULD result in the Image Information document.
This might be a slightly provocative view, but the standard does not state what the precise purpose the prefix serves and that the prefix MUST be for a server in all cases the same.
In Rob's example d does not follow the production rules for the region, e does not follow the production rule for size, f does not follow the rules for rotation and so on. So I don't see much ambiguity, only when allowing slashes in identifiers and prefixes. When allowing slashes in one of them, everything should be fine. Talking about a grammar for the URL scheme, making an EBNF or similar for the URL scheme could be very useful for implementers. What do you think?