Post on 28-Jul-2015
transcript
@jpstroopSharing Images of Global Cultural Heritage, NGA, 5 May 2015
The IIIF Image API
http://iiif.io/api/image/2.0/
@jpstroopSharing Images of Global Cultural Heritage, NGA, 5 May 2015
Without Standards We Have Silos
Application A
Server A
Application B
Server B
Application C
Server C
Application D
Server D
@jpstroopSharing Images of Global Cultural Heritage, NGA, 5 May 2015
Technology Becomes Interchangeable
Application A
Server D
Application B
Server C Server B
Application C
Server A
Application D
@jpstroopSharing Images of Global Cultural Heritage, NGA, 5 May 2015
Resources Become Shareable
Application A
Server D
Application B
Server C Server B
Application C
Server A
Application D
@jpstroopSharing Images of Global Cultural Heritage, NGA, 5 May 2015
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
@jpstroopSharing Images of Global Cultural Heritage, NGA, 5 May 2015
Syntax
• Full Size, Whole Image• 400 Wide, Whole Image• 400 Wide, Region• 400 Wide, Region, Rotated• 400 Wide, Region, Rotated, Grayscale• Thumbnail, as a PNG
@jpstroopSharing Images of Global Cultural Heritage, NGA, 5 May 2015
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 } ]}
@jpstroopSharing Images of Global Cultural Heritage, NGA, 5 May 2015
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" ]}
@jpstroopSharing Images of Global Cultural Heritage, NGA, 5 May 2015
Implementations
Servers Clients
djatoka
digilibCONTENTdm
OpenSeadragon
IIPMooViewer
OpenLayers
Leaflet-IIIF
@jpstroopSharing Images of Global Cultural Heritage, NGA, 5 May 2015
Thank You!
http://iiif.io/api/image/2.0/
Jon Stroop Princeton University Library
jpstroop@gmail.com@jpstroop