Skip to content

dzsave: IIIF: use named region of 'full' when no crop takes place #4578

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

Open
wants to merge 1 commit into
base: 8.17
Choose a base branch
from

Conversation

lovell
Copy link
Member

@lovell lovell commented Jun 23, 2025

Will improve compliance with IIIF v2 and v3, the specs of which both mandate support for the "full" region.

I've checked OpenLayers and OpenSeadragon and they both contain the same logic so it should address most of #2036

This PR only handles the "region" part of the URL and doesn't touch the "size" as (I think) as long as the tile size is smaller than the original image size in either (or both) dimensions then a "max" tile will not be requested. If the tile size is larger than the original image in both dimensions then there's only one tile/layer, so you don't really need dzsave.

I've also added a couple of initial, basic IIIF layout tests as there were none. I used the sample dimensions from #4576 for these as it should be fixed too.

Should improve conformance with IIIF v2 and v3, the specs of
which both mandate support for the 'full' region.

Also adds a couple of initial, basic IIIF layout tests
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.

1 participant