These are chat archives for openseadragon/openseadragon

1st
Jul 2015
VoidVolker
@VoidVolker
Jul 01 2015 06:28
yes! at last I have one item for hover effect with wrapping ^_^
@iangilman thank you, you very help me )
Grant Echols
@gechols
Jul 01 2015 16:04
@iangilman - where do I get started with the DZC file? Is there a new open mechanism that takes the DZC as a parameter?
Ian Gilman
@iangilman
Jul 01 2015 16:35
@VoidVolker Excellent :)
@gechols No, we don't have support for it yet...that's what #67 is about...adding that support. No one has taken it on yet. I think the major step was just supporting multi-image in the first place, though...it'll still be a bit of work to support the DZC tile atlases, but we're over the hump.
That said, there's no one working on it. You're welcome to dive in if you'd like.
I'm also happy to discuss other potential strategies...if you have 50,000 items, many of them will just be a pixel or so, so that could be handled other ways perhaps. It would all be custom coding though.
Probably the first step is to see how many items OSD can handle before it starts to bog down
Mark Salsbery
@msalsbery
Jul 01 2015 17:05
We need the pixi.js bunnies!
Ian Gilman
@iangilman
Jul 01 2015 17:05
For sure :)
Grant Echols
@gechols
Jul 01 2015 17:53
K - just wanted to make sure I wasn't missing something. We are using the addTiledImage method to add the images. We have disabled zoom on what we are calling the 'grid' view and instead treat it as a scroll. This is hopefully keeping OSD from loading more than a single tile of the stack for each image. The files are across the network so they are going to take some time to load. I suspect we will want to 'page' the results and not try to load all 50k of the images into OSD.
Ian Gilman
@iangilman
Jul 01 2015 17:54
Seems reasonable.
As long as the image isn't visible in the viewer (i.e. it's panned offscreen) we don't even try to load any tiles for it
And of course the viewer doesn't slow down while loading tiles
Grant Echols
@gechols
Jul 01 2015 17:58
Right. I've noticed that it does a pretty good job of only loading what's necessary and keeping them small as well as 'off screen' seems to make a huge difference. Before we fixed the scrolling though we were able to deep zoom quite a few images with pretty smooth transitions and such. In all, its a pretty impressive tool.
Ian Gilman
@iangilman
Jul 01 2015 17:59
Excellent :)
Btw, if you have a lot of images such that it takes a while to load them all, you might experiment with the placeholderFillStyle feature; it draws them with a flat color before the tile loads. If your system knows the average color of an image ahead of time, you could even use that.
Unfortunately that feature has a bug: #675. It shouldn't be too hard to fix, though, based on the discussion below https://github.com/openseadragon/openseadragon/pull/635#issuecomment-93950505
VoidVolker
@VoidVolker
Jul 01 2015 18:19
I tested leaflet with 6485 png tiles images (44 zoom levels) of 0.5Gb total size - it works good (via html elements) but take 1-1,5Gb of memory =)
OSD smooth zoom -wonderful thing :)
Ian Gilman
@iangilman
Jul 01 2015 18:23
Yow! :)
VoidVolker
@VoidVolker
Jul 01 2015 18:31
Yep, there need step +10% )
with OSD same result with 6 zoom levels 1454 imges and 115mb
Ian Gilman
@iangilman
Jul 01 2015 18:32
Excellent
aeschylus
@aeschylus
Jul 01 2015 20:05
Hey Ian, can you talk on the Mirador channel really quick?