Too many tiles in simple image
See original GitHub issueWhen using OpenSeaDragon with a single image that has a specific resolution, it appears twice in the drawer.
Demo: https://jsfiddle.net/r6rmtmuj/2/
The reason for this behavior, as far as I can tell, is a rounding error in getTileAtPoint
. The image has a resolution of 1280x1752 (aspect ratio 0.7305936073
). The calculation on the mentioned line is thus:
point.y >= 1 / this.aspectRatio - EPSILON
1.36875 > 1 / 0.730593607305936 - 1e-16
1.36875 > 1.3687500000000001
false
The easiest fix would be to increase EPSILON
, but I don’t know the implications.
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (5 by maintainers)
Top Results From Across the Web
Loading too many tiles after #1014 · Issue #1020 - GitHub
Beforehand (in my experience) it loads the highest level that covers the entire image with a single tile and then progresses upward from ......
Read more >what dose it mean by "too many tiles in image"? - Unity Answers
Tile Resolution for HD Game 0 Answers. This error is killing me please help.GetComponent requires that the requested component ...
Read more >Can You/I Have Too Much Tile In Your Kitchen And Baths? A ...
I wrote more about the desire in this post but the idea is how you can take a simple tile and create high...
Read more >java - slicing up a very big jpg map image , 49000* 34300 pixel
I tried this with (WARNING, big image, can crash your browser, ... This might be too much to handle, so you could use...
Read more >Creating a single large tile out of multiple tiles - Tiled Forum
Hi, I was wondering if there was a way to assign a single tile ID to an ... so you'd use tiles from...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
No problem, forgot about the PR myself 😃
Many thanks for the quick response 🙏