Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image API Selector extra fields #27

Open
stephenwf opened this issue Sep 29, 2022 · 0 comments
Open

Image API Selector extra fields #27

stephenwf opened this issue Sep 29, 2022 · 0 comments

Comments

@stephenwf
Copy link
Member

As per
https://iiif.io/api/annex/openannotation/#iiif-image-api-selector

Following work done in #26 @jbaiter

The following fields are supported:

type Required. Must be the value “ImageApiSelector”.
region “full” The string to put in the region parameter of the URI.
size “full” The string to put in the size parameter of the URI.
rotation “0” The string to put in the rotation parameter of the URI. Note that this must be a string in order to allow mirroring, for example “!90”.
quality “default” The string to put in the quality parameter of the URI.
format “jpg” The string to put in the format parameter of the URI. Note that the ‘.’ character is not part of the format, just the URI syntax.

The types only contain region and rotation which are most common for now. The others may be useful additions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant