翻译者:宋杰
原文地址:https://iiif.io/api/cookbook/recipe/0035-foldouts/
用例
书籍(和其他物品)有时包括折页或纸张,例如历史作品中的地图。在数字化过程中,折页可能以其折叠和展开的状态被捕获。
在前面的专题中,在单一视图中的多个图像选择中,翻页被作为同一视图的图像选择提供给用户。但请考虑这个例子。
在这里,这一页已经被捕捉到折叠和展开的情况。与前面的例子不同,这不是同一个视图。没有一个单一的IIIF Canvas可以用来表示这两个空间范围—我们不能在逻辑上将这两个图像放在同一个空间视图上。
虽然目前的例子和《单一视图中的图像的多重选择》中给出的例子明显不同,但建模的决定可能并不总是那么明显。会有一些案例可以用两种方式建模,这取决于出版商想要呈现的内容。
实施说明
展开的视图只是 manifest.items 所给序列中的一个额外 Canvas。
这些页面来自一本印刷好的分页书,它的行为 behavior 值可能是 paged,以便在支持该行为的查看器中生成正确的recto-verso-recto-verso 表示。如果我们在 Manifest 的项目 items 中插入一个额外的 Canvas,我们就会破坏这个序列,除非我们在 Canvas 上引入一个额外的行为 behavior 属性,让折页使用 non-paged 的值来表示它不是分页序列的一部分。
例子
这个例子改编自https://wellcomelibrary.org/iiif/b29346423/manifest,但为了表达基本观点,对其进行了大幅缩减。
清单 Manifest 被赋予了分页 paged 的行为 behavior。在没有其他限定词的情况下,这表示一个从左到右的序列,第一项是直角。
这个顺序是
封面
封面内页
折叠的,折叠的
折页,展开(给定行为 behavior 非分页 non-paged,表示它不构成清单分页序列的一部分)。
折页,折叠(背面)。
标题页
标题页的背面
正常的页数会在这里继续;为了简洁起见,在本说明书中被删除了
封面内侧
封面背面
Canvases上的 “非分页 non-page “行为还没有被浏览者支持,这使得它很难被可视化。在缩略图视图中产生的布局将看起来像这样。
JSON-LD
{
"@context": "http://iiif.io/api/presentation/3/context.json",
"id": "https://iiif.io/api/cookbook/recipe/0035-foldouts/manifest.json",
"type": "Manifest",
"label": {
"en": [
"Outlines of geology being the substance of a course of lectures delivered in the Theatre of the Royal Institution in the year 1816"
]
},
"behavior": [
"paged"
],
"items": [
{
"id": "https://iiif.io/api/cookbook/recipe/0035-foldouts/canvas/1",
"type": "Canvas",
"height": 4429,
"width": 2533,
"label": {
"en": [
"Front cover"
]
},
"items": [
{
"id": "https://iiif.io/api/cookbook/recipe/0035-foldouts/page/1/1",
"type": "AnnotationPage",
"items": [
{
"id": "https://iiif.io/api/cookbook/recipe/0035-foldouts/annotation/0001-image",
"type": "Annotation",
"motivation": "painting",
"body": {
"id": "https://iiif.io/api/image/3.0/example/reference/0a469c27256eda739d43124cc448a3ba-1_frontcover/full/max/0/default.jpg",
"type": "Image",
"format": "image/jpeg",
"height": 4429,
"width": 2533,
"service": [
{
"id": "https://iiif.io/api/image/3.0/example/reference/0a469c27256eda739d43124cc448a3ba-1_frontcover",
"type": "ImageService3",
"profile": "level1"
}
]
},
"target": "https://iiif.io/api/cookbook/recipe/0035-foldouts/canvas/1"
}
]
}
]
},
{
"id": "https://iiif.io/api/cookbook/recipe/0035-foldouts/canvas/2",
"type": "Canvas",
"height": 4315,
"width": 2490,
"label": {
"en": [
"Inside front cover"
]
},
"items": [
{
"id": "https://iiif.io/api/cookbook/recipe/0035-foldouts/page/2/1",
"type": "AnnotationPage",
"items": [
{
"id": "https://iiif.io/api/cookbook/recipe/0035-foldouts/annotation/0002-image",
"type": "Annotation",
"motivation": "painting",
"body": {
"id": "https://iiif.io/api/image/3.0/example/reference/0a469c27256eda739d43124cc448a3ba-2_insidefrontcover/full/max/0/default.jpg",
"type": "Image",
"format": "image/jpeg",
"height": 4315,
"width": 2490,
"service": [
{
"id": "https://iiif.io/api/image/3.0/example/reference/0a469c27256eda739d43124cc448a3ba-2_insidefrontcover",
"type": "ImageService3",
"profile": "level1"
}
]
},
"target": "https://iiif.io/api/cookbook/recipe/0035-foldouts/canvas/2"
}
]
}
]
},
{
"id": "https://iiif.io/api/cookbook/recipe/0035-foldouts/canvas/3",
"type": "Canvas",
"height": 4278,
"width": 2197,
"label": {
"en": [
"Foldout, folded"
]
},
"items": [
{
"id": "https://iiif.io/api/cookbook/recipe/0035-foldouts/page/3/1",
"type": "AnnotationPage",
"items": [
{
"id": "https://iiif.io/api/cookbook/recipe/0035-foldouts/annotation/0003-image",
"type": "Annotation",
"motivation": "painting",
"body": {
"id": "https://iiif.io/api/image/3.0/example/reference/0a469c27256eda739d43124cc448a3ba-3_foldout-folded/full/max/0/default.jpg",
"type": "Image",
"format": "image/jpeg",
"height": 4278,
"width": 2197,
"service": [
{
"id": "https://iiif.io/api/image/3.0/example/reference/0a469c27256eda739d43124cc448a3ba-3_foldout-folded",
"type": "ImageService3",
"profile": "level1"
}
]
},
"target": "https://iiif.io/api/cookbook/recipe/0035-foldouts/canvas/3"
}
]
}
]
},
{
"id": "https://iiif.io/api/cookbook/recipe/0035-foldouts/canvas/4",
"type": "Canvas",
"behavior": [
"non-paged"
],
"height": 1968,
"width": 3688,
"label": {
"en": [
"Foldout, unfolded"
]
},
"items": [
{
"id": "https://iiif.io/api/cookbook/recipe/0035-foldouts/page/4/1",
"type": "AnnotationPage",
"items": [
{
"id": "https://iiif.io/api/cookbook/recipe/0035-foldouts/annotation/0004-image",
"type": "Annotation",
"motivation": "painting",
"body": {
"id": "https://iiif.io/api/image/3.0/example/reference/0a469c27256eda739d43124cc448a3ba-4_foldout/full/max/0/default.jpg",
"type": "Image",
"format": "image/jpeg",
"height": 1968,
"width": 3688,
"service": [
{
"id": "https://iiif.io/api/image/3.0/example/reference/0a469c27256eda739d43124cc448a3ba-4_foldout",
"type": "ImageService3",
"profile": "level1"
}
]
},
"target": "https://iiif.io/api/cookbook/recipe/0035-foldouts/canvas/4"
}
]
}
]
},
{
"id": "https://iiif.io/api/cookbook/recipe/0035-foldouts/canvas/5",
"type": "Canvas",
"height": 1968,
"width": 3688,
"label": {
"en": [
"Foldout, folded (recto)"
]
},
"items": [
{
"id": "https://iiif.io/api/cookbook/recipe/0035-foldouts/page/5/1",
"type": "AnnotationPage",
"items": [
{
"id": "https://iiif.io/api/cookbook/recipe/0035-foldouts/annotation/0005-image",
"type": "Annotation",
"motivation": "painting",
"body": {
"id": "https://iiif.io/api/image/3.0/example/reference/0a469c27256eda739d43124cc448a3ba-3_foldout-rotated/full/max/0/default.jpg",
"type": "Image",
"format": "image/jpeg",
"height": 1968,
"width": 3688,
"service": [
{
"id": "https://iiif.io/api/image/3.0/example/reference/0a469c27256eda739d43124cc448a3ba-3_foldout-rotated",
"type": "ImageService3",
"profile": "level1"
}
]
},
"target": "https://iiif.io/api/cookbook/recipe/0035-foldouts/canvas/5"
}
]
}
]
},
{
"id": "https://iiif.io/api/cookbook/recipe/0035-foldouts/canvas/6",
"type": "Canvas",
"height": 4315,
"width": 2490,
"label": {
"en": [
"Title page"
]
},
"items": [
{
"id": "https://iiif.io/api/cookbook/recipe/0035-foldouts/page/6/1",
"type": "AnnotationPage",
"items": [
{
"id": "https://iiif.io/api/cookbook/recipe/0035-foldouts/annotation/0006-image",
"type": "Annotation",
"motivation": "painting",
"body": {
"id": "https://iiif.io/api/image/3.0/example/reference/0a469c27256eda739d43124cc448a3ba-5_titlepage/full/max/0/default.jpg",
"type": "Image",
"format": "image/jpeg",
"height": 4315,
"width": 2490,
"service": [
{
"id": "https://iiif.io/api/image/3.0/example/reference/0a469c27256eda739d43124cc448a3ba-5_titlepage",
"type": "ImageService3",
"profile": "level1"
}
]
},
"target": "https://iiif.io/api/cookbook/recipe/0035-foldouts/canvas/6"
}
]
}
]
},
{
"id": "https://iiif.io/api/cookbook/recipe/0035-foldouts/canvas/7",
"type": "Canvas",
"height": 4315,
"width": 2490,
"label": {
"en": [
"Back of title page"
]
},
"items": [
{
"id": "https://iiif.io/api/cookbook/recipe/0035-foldouts/page/7/1",
"type": "AnnotationPage",
"items": [
{
"id": "https://iiif.io/api/cookbook/recipe/0035-foldouts/annotation/0007-image",
"type": "Annotation",
"motivation": "painting",
"body": {
"id": "https://iiif.io/api/image/3.0/example/reference/0a469c27256eda739d43124cc448a3ba-6_titlepage-recto/full/max/0/default.jpg",
"type": "Image",
"format": "image/jpeg",
"height": 4315,
"width": 2490,
"service": [
{
"id": "https://iiif.io/api/image/3.0/example/reference/0a469c27256eda739d43124cc448a3ba-6_titlepage-recto",
"type": "ImageService3",
"profile": "level1"
}
]
},
"target": "https://iiif.io/api/cookbook/recipe/0035-foldouts/canvas/7"
}
]
}
]
},
{
"id": "https://iiif.io/api/cookbook/recipe/0035-foldouts/canvas/8",
"type": "Canvas",
"height": 4315,
"width": 2490,
"label": {
"en": [
"Inside back cover"
]
},
"items": [
{
"id": "https://iiif.io/api/cookbook/recipe/0035-foldouts/page/8/1",
"type": "AnnotationPage",
"items": [
{
"id": "https://iiif.io/api/cookbook/recipe/0035-foldouts/annotation/0008-image",
"type": "Annotation",
"motivation": "painting",
"body": {
"id": "https://iiif.io/api/image/3.0/example/reference/0a469c27256eda739d43124cc448a3ba-8_insidebackcover/full/max/0/default.jpg",
"type": "Image",
"format": "image/jpeg",
"height": 4315,
"width": 2490,
"service": [
{
"id": "https://iiif.io/api/image/3.0/example/reference/0a469c27256eda739d43124cc448a3ba-8_insidebackcover",
"type": "ImageService3",
"profile": "level1"
}
]
},
"target": "https://iiif.io/api/cookbook/recipe/0035-foldouts/canvas/8"
}
]
}
]
},
{
"id": "https://iiif.io/api/cookbook/recipe/0035-foldouts/canvas/9",
"type": "Canvas",
"height": 4315,
"width": 2490,
"label": {
"en": [
"Back cover"
]
},
"items": [
{
"id": "https://iiif.io/api/cookbook/recipe/0035-foldouts/page/9/1",
"type": "AnnotationPage",
"items": [
{
"id": "https://iiif.io/api/cookbook/recipe/0035-foldouts/annotation/0009-image",
"type": "Annotation",
"motivation": "painting",
"body": {
"id": "https://iiif.io/api/image/3.0/example/reference/0a469c27256eda739d43124cc448a3ba-9_backcover/full/max/0/default.jpg",
"type": "Image",
"format": "image/jpeg",
"height": 4315,
"width": 2490,
"service": [
{
"id": "https://iiif.io/api/image/3.0/example/reference/0a469c27256eda739d43124cc448a3ba-9_backcover",
"type": "ImageService3",
"profile": "level1"
}
]
},
"target": "https://iiif.io/api/cookbook/recipe/0035-foldouts/canvas/9"
}
]
}
]
}
]
}
相关专题
- 在一个视图中选择多种图像
- 由多个图像源组成一个视图