Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
poor quality of small thumbnails #30
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
rmcloughlin commentedJul 8, 2017
OpenSlide.createThumbnailImage(size)creates poor-quality images when the desired size is significantly smaller than the smallest layer included in the slide.For example we have a slide with three layers. The sizes of the layers are approximately:
When I create a size 300 thumbnail (with
OpenSlide.createThumbnailImage(300)) it is noticeably grainy. Note that this is not the case with the python API (get_thumbnail), which creates a nice looking thumbnail of that size from the same slide.