Skip to content

dzsave: ensure IIIF scaleFactors includes all levels #4421

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

Merged
merged 1 commit into from
Mar 18, 2025

Conversation

lovell
Copy link
Member

@lovell lovell commented Mar 17, 2025

Originally reported at lovell/sharp#4346 - the sample image of 39125x34708 split into 1024x1024 tiles correctly generated 7 levels in the IIIF pyramid but it looks like the scaleFactors calculation was only considering the first 6.

@lovell lovell force-pushed the dzsave-iiif-scale-factor branch from eee0cc3 to 7ab3dea Compare March 17, 2025 15:23
@jcupitt jcupitt merged commit f3b712f into libvips:master Mar 18, 2025
6 checks passed
@jcupitt
Copy link
Member

jcupitt commented Mar 18, 2025

LGTM! what a silly error :(

@lovell lovell deleted the dzsave-iiif-scale-factor branch March 18, 2025 15:29
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.

2 participants