In an earlier post, I suggested that it might be cool to link the open source version of Microsoft’s Seadragon to Los Alamos National Laboratory’s Jpeg2000 server, Djatoka. Since that post, the folks at OpenSeadragon cleaned up a lot of the JavaScript making it much easier to do this. I’ve essentially just rewritten the “get tile url” function so that it loads the tile dynamically from Djatoka rather than from a static file. There’s a bit of wacky math because of the odd shapes of the tiles and the way Djatoka processes tile size, but nothing too crazy. The code is at github and I’ve put up a demo on this server.
Pages
- Contact
- Home
- About
- Blog
- Documentation
- TILE Plugin Development
- User Guide
- List of Plugins
- TILE API
- activate(name {String})
- addToolBarButton(button {Object})
- attachMetadataDialog(obj {Object}, handle {String})
- changePage(val {Integer})
- deleteObj(obj {Object})
- getJSON(page {Boolean})
- getXML(opt {Boolean})
- insertData(data {Object})
- insertMode(name {String})
- insertModeButtons(html {String}, section {String}, name {String})
- insertModeHTML(html {String}, section {String}, name {String})
- insertModePlugin(name {String}, plugin {String})
- insertPlugin(plugin {String})
- insertTags(tags {Array})
- linkObjects(obj1 {Object}, obj2 {Object})
- linkWithActiveObj(obj1 {Object})
- nextPage()
- parseJSON(file {String} or file {Object})
- prevPage()
- registerPlugin(pw {Object})
- setActiveObj(obj {Object})
- updateData(obj {Object})
- TILE JSON
- Frequently Asked Questions
Categories
One Comment
Neat idea. We’re already using Djatoka with the Fedora-Commons repository; it would be pretty slick to combine that with OpenSeadragon or something like it. I’ve just spent a few minutes playing with your demo code, and with some minor tweaks, I have a rough proof-of-concept that uses your demo and works with one of my Fedora image objects, making the djatoka calls through the Fedora disseminator.