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

Use zoomLevelScaling and level to renderJpegRegion #1

Merged
merged 1 commit into from May 12, 2017

Conversation

will-moore
Copy link
Contributor

I think I worked out how to correctly scale x and y using the zoomLevelScaling.

I've only tested it with a single svs image, but it seems to provide similar behaviour to the existing code, without having to load all the data at full size and scale with PIL.

Hope it works for you.

@msphan msphan merged commit d0e41e5 into msphan:master May 12, 2017
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.

None yet

2 participants