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

Support IIIF servers that don't report tile dimensions #286

Merged
merged 2 commits into from
Nov 19, 2013
Merged

Support IIIF servers that don't report tile dimensions #286

merged 2 commits into from
Nov 19, 2013

Conversation

jpstroop
Copy link
Contributor

tile_width / tile_height aren't required by IIIF. Some images may not have embedded tiles but will still support region extraction and scaling. Solution is to use the short dimension of the image as the tile size when tile dimensions are not reported.

Also a tiny fix: there is no IIIF level 3 compliance, so took that URI out @ line 86

Test and test images included.

@jcoyne
Copy link

jcoyne commented Nov 18, 2013

👍

@iangilman
Copy link
Member

Looks good!

iangilman added a commit that referenced this pull request Nov 19, 2013
Support IIIF servers that don't report tile dimensions
@iangilman iangilman merged commit 40dd1d2 into openseadragon:master Nov 19, 2013
@jpstroop
Copy link
Contributor Author

Thanks!

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

Successfully merging this pull request may close these issues.

3 participants