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

Ndpi one framed page edges #34

Merged

Conversation

erikogabrielsson
Copy link
Collaborator

@erikogabrielsson erikogabrielsson commented Apr 19, 2022

For ndpi pages that are part of the pyramid (e.g. should be tiled) that only contain one frame, manipulate frame size in the jpeg header to an even number of MCUs before cropping/extending the frame. Otherwise jpegturbo produces a border along the edge.

Only change is in opentile/ndpi_tiler.py

jesper-molin
jesper-molin previously approved these changes Apr 19, 2022
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