Replies: 4 comments 4 replies
-
Also interested. It could be possible on both the server and in browser potentially (using something like zip.js) Another proof-of-concept: https://github.com/digirati-co-uk/storage-api/blob/main/src/routes/iiif/level-0.ts Although serving up the whole zip to the client defeats the purpose of tiling - and we could get better compression with a full image sent instead. Would be useful as a server-side thing through a proxy or middleware. |
Beta Was this translation helpful? Give feedback.
-
Even if not directly related to the subject of this discussion (serving static tiles as ZIP files) I report here something discovered in the slack discussion: This is a test I've made https://pub-0f1c9e6ddb92456a85802303778fa724.r2.dev/demo/index.html
and the ongoing discussion on openseadragon github: |
Beta Was this translation helpful? Give feedback.
-
TIL PMTiles PMTiles is a single-file archive format for tiled data. It enables low-cost, zero-maintenance map applications for "serverless" environments without having to rely on a custom tile backend or a third-party provider. This is achieved by packing all tiles of a tileset into an archive so that all tiles can be accessed easily and without much overhead via HTTP range requests. By combining all the tiles into one archive, hosting costs are kept low, as it is usually a lot cheaper to update one large file than to update thousands or even millions of small files. https://protomaps.com/docs/pmtiles |
Beta Was this translation helpful? Give feedback.
-
an update on PMTiles: |
Beta Was this translation helpful? Give feedback.
-
There may be value in using the zip file format in combination with byte ranges for efficient delivery of tiles. This makes a large set of precut tiles more manageable while leveraging long-standing web plumbing. OurDigitalWorld is testing this approach out with a middleware implmentation but has also done a simple proof-of-concept with javascript in the Universal Viewer. Perhaps this could be a IIIF extension? One possible syntax might be something like:
Here the id would form the access point to the zip archive, and the "dir.bin" file would be in the same location but just consist of the zip directory itself (to allow quick look-ups in the zip archive if javascript can't efficiently extract it, see this issue). This idea builds on a discussion in the IIIF slack channel. Some links from there include the wacx and cdxj specs.
Beta Was this translation helpful? Give feedback.
All reactions