Skip to content

Instantly share code, notes, and snippets.

@salgo60
Created March 11, 2019 14:42
Show Gist options
  • Save salgo60/f89d5428ee69fadf71567c94a53309ae to your computer and use it in GitHub Desktop.
Save salgo60/f89d5428ee69fadf71567c94a53309ae to your computer and use it in GitHub Desktop.
IIIF
{
"@context": "http://iiif.io/api/presentation/2/context.json",
"@id": "http://a7abb044-4f83-4ebd-a4af-4719d0b243cc",
"@type": "sc:Manifest",
"label": "[Click to edit label]",
"metadata": [],
"description": [
{
"@value": "[Click to edit description]",
"@language": "en"
}
],
"license": "https://creativecommons.org/licenses/by/3.0/",
"attribution": "[Click to edit attribution]",
"sequences": [
{
"@id": "http://2010d885-b295-4026-870d-4295089bdf0a",
"@type": "sc:Sequence",
"label": [
{
"@value": "Normal Sequence",
"@language": "en"
}
],
"canvases": [
{
"@id": "http://61358d68-ab75-479e-a08a-71b2a3b8036b",
"@type": "sc:Canvas",
"label": "Empty canvas",
"height": 4032,
"width": 3024,
"images": [
{
"@context": "http://iiif.io/api/presentation/2/context.json",
"@id": "http://1cdf3857-1d86-4e2d-86cf-009490fca255",
"@type": "oa:Annotation",
"motivation": "sc:painting",
"resource": {
"@id": "http://127.0.0.1:8182/iiif/2/eddie.jpg/full/full/0/default.jpg",
"@type": "dctypes:Image",
"format": "image/jpeg",
"service": {
"@context": "http://iiif.io/api/image/2/context.json",
"@id": "http://127.0.0.1:8182/iiif/2/eddie.jpg",
"profile": [
"http://iiif.io/api/image/2/level2.json",
{
"formats": [
"tif",
"jpg",
"gif",
"png"
],
"maxArea": 400000000,
"qualities": [
"bitonal",
"default",
"gray",
"color"
],
"supports": [
"regionByPx",
"sizeByW",
"sizeByWhListed",
"cors",
"regionSquare",
"sizeByDistortedWh",
"sizeAboveFull",
"canonicalLinkHeader",
"sizeByConfinedWh",
"sizeByPct",
"jsonldMediaType",
"regionByPct",
"sizeByH",
"rotationArbitrary",
"baseUriRedirect",
"rotationBy90s",
"profileLinkHeader",
"sizeByForcedWh",
"sizeByWh",
"mirroring"
]
}
]
},
"height": 4032,
"width": 3024
},
"on": "http://61358d68-ab75-479e-a08a-71b2a3b8036b"
}
],
"related": ""
}
]
}
],
"structures": []
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment