iiif image api @ ghent
TRANSCRIPT
IIIF: Access to the World's Images – Ghent, Belgium, 2015-12-08
The IIIF Image API
http://iiif.io/api/image/2.0/
Simeon Warner (Cornell University)
With lots of help (& slides) from Jon Stroop, Rob Sanderson, Michael Appleby, Tom Crane,...
IIIF: Access to the World's Images – Ghent, Belgium, 2015-12-08
The Problem
IIIF: Access to the World's Images – Ghent, Belgium, 2015-12-08
Without Standards We Have Silos
Application A
Server A
Application B
Server B
Application C
Server C
Application D
Server D
IIIF: Access to the World's Images – Ghent, Belgium, 2015-12-08
Technology Becomes Interchangeable
Application A
Server D
Application B
Server C Server B
Application C
Server A
Application D
IIIF: Access to the World's Images – Ghent, Belgium, 2015-12-08
Resources Become Shareable
Application A
Server D
Application B
Server C Server B
Application C
Server A
Application D
IIIF: Access to the World's Images – Ghent, Belgium, 2015-12-08
The Solution... IIIF Image API
Image API v2.0Draft 2014-06Community reviewReleased 2014-08
IIIF: Access to the World's Images – Ghent, Belgium, 2015-12-08
Syntax
(Just Enough) Technical Metadata
The Image
Server Capabilities
http(s)://{server}{/prefix}/{id}/info.json
http(s)://{server}{/prefix}/{id}/{region}/{size}/{rotation}/{quality}.{fmt}
http://iiif.io/api/image/2/level2.json
IIIF: Access to the World's Images – Ghent, Belgium, 2015-12-08
{id}/full/full/0/default.jpg
5204 x 7200pixels
/full/full/ not practical for all images!
IIIF: Access to the World's Images – Ghent, Belgium, 2015-12-08
{id}/full/400,/0/default.jpg
IIIF: Access to the World's Images – Ghent, Belgium, 2015-12-08
{id}/3930,60,1230,3600/400,/0/default.jpg
IIIF: Access to the World's Images – Ghent, Belgium, 2015-12-08
{id}/3930,60,1230,3600/400,/90/default.jpg
IIIF: Access to the World's Images – Ghent, Belgium, 2015-12-08
{id}/3930,60,1230,3600/400,/90/gray.jpg
IIIF: Access to the World's Images – Ghent, Belgium, 2015-12-08
{id}/full/150,/0/default.png
• png supports transparency• used for thumbnails etc.
IIIF: Access to the World's Images – Ghent, Belgium, 2015-12-08
info.json{ "@context" : "http://iiif.io/api/image/2/context.json", "@id" : "http://libimages.princeton.edu/loris2/pudl0130%2F8555444%2F02%2F00000007.jp2", "height" : 7200, "width" : 5204, "profile":[ "http://iiif.io/api/image/2/level2.json", { "supports" : [ "canonicalLinkHeader", "profileLinkHeader", "mirroring" ], "qualities" : [ "default", "bitonal", "gray", "color" ], "formats" : [ "jpg", "png", "gif", "webp" ] } ], "protocol" : "http://iiif.io/api/image", "tiles" : [{ "width" : 1024, "scaleFactors" : [ 1, 2, 4, 8, 16, 32, 64, 128 ] }], "sizes":[ { "width" : 41, "height" : 57 }, { "width" : 82, "height" : 113 }, { "width" : 163, "height" : 225 }, { "width" : 326, "height" : 450 }, { "width" : 651, "height" : 900 }, { "width" : 1301, "height" : 1800 }, { "width" : 2602, "height" : 3600 }, { "width" : 5204, "height" : 7200 } ]}
IIIF: Access to the World's Images – Ghent, Belgium, 2015-12-08
leveln.json
{ "@context" : "http://iiif.io/api/image/2/context.json", "@id" : "http://iiif.io/api/image/2/level2.json", "@type" : "iiif:ImageProfile",
"formats" : [ "jpg", "png" ], "qualities" : [ "default", "bitonal" ], "supports" : [ "baseUriRedirect", "cors", "jsonldMediaType", "profileLinkHeader", "regionByPx", "sizeByH", "sizeByPct", "sizeByW", "regionByPct", "rotationBy90s", "sizeByForcedWh", "sizeByWh" ]}
IIIF: Access to the World's Images – Ghent, Belgium, 2015-12-08
level0 – static files
• IIIF supports static files, pre-generated tiles•Can still do pan & zoom•Can still have a set of thumnail sizes• Image Information (info.json) lets client know what is available
Demo:http://zimeon.github.io/iiif-static-mandlebrot/
IIIF: Access to the World's Images – Ghent, Belgium, 2015-12-08
Implementations
Servers Clients
digilibCONTENTdm
OpenSeadragon
IIPMooViewer
OpenLayers
Leaflet-IIIF
+ A
pplic
atio
ns b
ased
on
thes
e
RAIS Image Server
IIIF: Access to the World's Images – Ghent, Belgium, 2015-12-08
v2.1 nearing final draftNo breaking changes
Clarity++Adds attribution, license and logoAdds square regionTie to authentication
IIIF: Access to the World's Images – Ghent, Belgium, 2015-12-08
Thank you!
http://iiif.io/api/image/2.0/