usnistgov / pyramidio

Image pyramid reader and writer
Other
33 stars 22 forks source link

[Q] Dynamic generation of only required tiles? #3

Closed peterlitvak closed 8 years ago

peterlitvak commented 8 years ago

Have you considered making dynamic generation of only the required tiles a feature of the component? This could be very useful if this component is used as part of an implementation of an end point for the UI (e.g. openseadragon) for handling "unlimited" size images.

avandecreme commented 8 years ago

Do you mean that you would like to generate the tiles on the fly when the client request them?

I don't see how that would scale with big images. For example, if the user request the level 0, the whole image has to be read and down-sampled. That would take to much time (and memory) to do it as part of a web service.

peterlitvak commented 8 years ago

you are correct, that question came from my poor understanding of how DZI is produced, I've educated myself now :)

avandecreme commented 8 years ago

You might be interested in iipsrv. I never tested it but they claim to support such functionality.

peterlitvak commented 8 years ago

Very interesting, thank you!