Deep Zoom Image Downloader
Ruby JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
Gemfile
Gemfile.lock
LICENSE
README.md
dzi-dl.rb
dzixmlreqs.js

README.md

dzi-dl

Command-line tile downloader/assembler for Deep Zoom images.

Download full-resolution images for a given Deep Zoom image .dzi/.xml URL.

There are many tools for slicing images into Deep Zoom tiles. This does the reverse of those.

See also: iiif-dl

Requirements

Usage

bundle exec ./dzi-dl.rb 'http://example.com/dzi-viewer/viewer.ashx?zoom=image.xml'

To find a .dzi/.xml URL for a given Deep Zoom image viewer, you may need to open your web browser's Developer Tools and go to e.g. the "Network" pane, then reload the page and see what resources are loaded via AJAX.

Alternately, if you have PhantomJS installed, you can use dzixmlreqs.js to list all URLs ending in .dzi/.xml requested by a given webpage URL:

phantomjs dzixmlreqs.js 'http://example.com/viewer.asp?manuscript=shelfmark'