question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

openseadragon cannot open big legacy image pyramids image?

See original GitHub issue

I try to use this mode: http://openseadragon.github.io/examples/tilesource-legacy/ my code is: <script type="text/javascript"> var viewer = OpenSeadragon({ id: "contentDiv", prefixUrl: "images/", tileSources: { type: 'legacy-image-pyramid', levels:[{ url: 'image2/4.jpg', height: 1280, width: 1280 },{ url: 'image2/3.jpg', height: 2560, width: 2560 },{ url: 'image2/2.jpg', height: 5120, width: 5120 },{ url: 'image2/1.jpg', height: 10240, width: 10240 },{ url: 'image2/0.jpg', height: 20480, width: 20480 }] }, showNavigator:true }); </script> when it run in the browser(IE or Chrome), zoom into the big image(0.jpg (20480 X 20480)), the browser will become blank. when it turn to smaller image(1.jpg (10240 X 10240)), the browser will show normal.

why? because the browser memory Limit ?

thank you!

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
iangilmancommented, Jul 6, 2018

The tiled formats (like DZI, for instance) have the advantage of breaking the large levels into small, bite-size pieces. That way you never need to load a single 40 MB image. Transferring 40 MB can take several minutes on some connections, so it’s definitely worth the trouble!

1reaction
iangilmancommented, Jul 5, 2018

So it does work for you on a server? Then maybe just don’t worry about the fact that it doesn’t work locally?

But yes, the legacy tile source loads the entire tile for the appropriate level; it can’t load just a region of that tile. Looks like your largest tile is dozens of megabytes in size, so that’s definitely way too big for a reasonable user experience. I’m still downloading your largest tile, but the second largest (1.jpg) is 12mb and it took almost 2 minutes to load for me.

You should look into tiling it with one of the tools listed here:

http://openseadragon.github.io/examples/creating-zooming-images/

Read more comments on GitHub >

github_iconTop Results From Across the Web

Legacy Tile Source - OpenSeadragon
With a "legacy image pyramid" (LIP), you can make use of your existing images without pregenerating or dynamically creating image tiles.
Read more >
openseadragon/openseadragon - Gitter
My use-case is to show a pre-generated image pyramid where some tiles are blank. It would be nice to optimize performance by deleting...
Read more >
FlexTileSource: An OpenSeadragon Extension for Efficient ...
Besides DZI, OSD provides tile sources for Legacy Image Pyramids (International Image Interoperability Framework [IIIF]), (open street maps ...
Read more >
Seadragon Deep Zoom: Dzi Of Different Size Render Issue
An open-source, web-based viewer for high-resolution zoomable images, Legacy Image Pyramids. IIIF (International Image Interoperability Framework).
Read more >
wdukesons Archives - Bitstreams: The Digital Collections Blog
Tag Archives: wdukesons · Snow Daze: Winter Weather Survival Tips · Zoomable Hi-Res Images: Hopping Aboard the OpenSeadragon Bandwagon · Onwards, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found