Order of Implementation
http://iiif.io/api/image/2.1/#order-of-implementation
The parameters are always applied in a particular order so that you get the expected output.
Basically the order of operation follows the order of the parameters in the URL.
Here's our template again:
- Region is extracted from the full size image
- The image is scaled with the size parameter
- The image is mirrored before it is rotated (even though these are part of the same parameter in the URL)
- The image is rotated
- The quality is set to grayscale
- The format is selected
Canonical URI Syntax
With the different ways it is possible to specify a region or size, it is possible to return the same image with different combinations of parameters. The specification helps in this situation by specifying a canonical URL form that allows for better performance and caching.