Skip to content

Instantly share code, notes, and snippets.

@jpstroop
Last active August 29, 2015 13:56
Show Gist options
  • Save jpstroop/9102677 to your computer and use it in GitHub Desktop.
Save jpstroop/9102677 to your computer and use it in GitHub Desktop.
{
"@context": "http://iiif.io/image-api/1.1/context.json",
"@id": "http://libimages.princeton.edu/loris/pudl0052%2F6131707%2F00000001.jp2",
"profile": "http://iiif.io/image/1.2/levels/2.json", //local or iiif.io profile
"capabilities": "http://libimages.princeton.edu/loris/capabilities.json", //local or iiif.io profile
"formats": [ "jpg", "png", "tif", "gif" ],
"width": 122877,
"height": 3783,
"login": "http://libimages.princeton.edu/loris/login", // Exclusive w/
"logout": "http://libimages.princeton.edu/loris/logout", // this. Both optional. Logout required if logged in.
"tile_width": 1024,
"tile_height": 1024,
"qualities": [ "native", "color", "grey"," bitonal" ],
"scale_factors": [ 1, 2, 4, 8, 16, 32, 64, 128 ],
"degraded": {
"max_width": 92158,
"max_height": 2837,
"max_tile_width": 1024,
"max_tile_height": 1024,
"scale_factors": [ 2, 4, 8, 16, 32, 64, 128 ],
"formats": [ "jpg" ],
"qualities": [ "grey" ]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment