Skip to content

Instantly share code, notes, and snippets.

@jpstroop
Last active January 4, 2016 06:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jpstroop/8579968 to your computer and use it in GitHub Desktop.
Save jpstroop/8579968 to your computer and use it in GitHub Desktop.
IIIF examples

IIIF Image API URIs

Image

{scheme}://{server}{/prefix}/{identifier}/{region}/{size}/{rotation}/{quality}{.format}

Image Metadata

{scheme}://{server}{/prefix}/{identifier}/info.json

Formatted:

{
    "@context": "http://library.stanford.edu/iiif/image-api/1.1/context.json",
    "@id": "http://libimages.princeton.edu/loris/new_jp2s%2Fpudl0052%2F6131707%2F00000001.jp2",
    "formats": [ "jpg", "png", "gif" ],
    "width": 122877,
    "height": 3783,
    "profile": "http://library.stanford.edu/iiif/image-api/1.1/compliance.html#level2",
    "qualities": [ "native", "bitonal" ],
    "scale_factors": [ 1, 2, 4, 8, 16, 32, 64, 128 ],
    "tile_height": 1024,
    "tile_width": 1024
}

Loris

Open Seadragon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment