yonyonson / iiif-dl

Command-line tile downloader/assembler for IIIF endpoints/manifests

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

iiif-dl

Command-line tile downloader/assembler for IIIF endpoints/manifests.

Download full-resolution image sequences from any IIIF server.

See also: dzi-dl

Requirements

Usage

bundle install
bundle exec ./iiif-dl.rb --help

Usage: iiif-dl.rb [options] [iiif-manifest.json]
    -f, --force-tiling               Don't attempt full-size downloads without tiling
    -i, --identifier IDENTIFIER      Download single IIIF identifier IDENTIFIER instead of image sequence from manifest JSON
    -h, --help                       Display this screen

bundle exec ./iiif-dl.rb iiif-manifest.json
bundle exec ./iiif-dl.rb -i http://example.com/iiif/IIIF_SHELFMARK_0001

You can download an IIIF manifest from e.g. the Digital Bodleian:

Digital Bodleian IIIF manifest download

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

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

In single-identifier mode, you pass the URL of an IIIF identifier, i.e. what /info.json would be appended to in order to make an Image Information Request.

About

Command-line tile downloader/assembler for IIIF endpoints/manifests

License:MIT License


Languages

Language:Ruby 91.2%Language:JavaScript 8.8%