From 504227640363c14f16ef3afea1e2331b5dcb10ba Mon Sep 17 00:00:00 2001 From: Jamie Cope Date: Fri, 29 May 2026 11:25:14 -0400 Subject: [PATCH 1/2] Canvas in scene manifest updates to match draft spec --- .../iiif_canvas_with_bgcolor_backward.json | 32 +++++++++++++++---- .../iiif_canvas_with_bgcolor_forward.json | 26 +++++++++++---- 2 files changed, 46 insertions(+), 12 deletions(-) diff --git a/manifests/6_2d_canvases_in_scene/iiif_canvas_with_bgcolor_backward.json b/manifests/6_2d_canvases_in_scene/iiif_canvas_with_bgcolor_backward.json index 618af9e..2fa4399 100644 --- a/manifests/6_2d_canvases_in_scene/iiif_canvas_with_bgcolor_backward.json +++ b/manifests/6_2d_canvases_in_scene/iiif_canvas_with_bgcolor_backward.json @@ -46,8 +46,26 @@ "type": "Annotation", "motivation": ["painting"], "body": { - "id": "https://example.org/iiif/canvas/1", - "type": "Canvas" + "id": "https://iiif.io/api/presentation/4.0/example/uc06/scene/canvas-scene/anno/2/specificResource/1", + "type": "SpecificResource", + "source": { + "id": "https://example.org/iiif/canvas/1", + "type": "Canvas" + }, + "transform": [ + { + "type": "ScaleTransform", + "x": 2.1687, + "y": 2.8273, + "z": 1.0 + }, + { + "type": "RotateTransform", + "x": 0.0, + "y": 180.0, + "z": 0.0 + } + ] }, "target": { "id": "https://example.org/iiif/3d/anno2/target", @@ -58,8 +76,10 @@ }, "selector": [ { - "type": "PolygonZSelector", - "value": "POLYGONZ((-1.0843 2.8273 -2, 1.0843 2.8273 -2, 1.0843 0 -2, -1.0843 0 -2))" + "type": "PointSelector", + "x": 1.08435, + "y": 2.8273, + "z": -2.0 } ] } @@ -73,8 +93,8 @@ "type": "Canvas", "label": { "en": ["Painting"]}, "backgroundColor": "#c0c0c0", - "height": 28273, - "width": 21687, + "height": 1, + "width": 1, "items": [ { "id": "https://example.org/iiif/scene1/page/p2/1", diff --git a/manifests/6_2d_canvases_in_scene/iiif_canvas_with_bgcolor_forward.json b/manifests/6_2d_canvases_in_scene/iiif_canvas_with_bgcolor_forward.json index d828106..876fc9f 100644 --- a/manifests/6_2d_canvases_in_scene/iiif_canvas_with_bgcolor_forward.json +++ b/manifests/6_2d_canvases_in_scene/iiif_canvas_with_bgcolor_forward.json @@ -46,8 +46,20 @@ "type": "Annotation", "motivation": ["painting"], "body": { - "id": "https://example.org/iiif/canvas/1", - "type": "Canvas" + "id": "https://iiif.io/api/presentation/4.0/example/uc06/scene/canvas-scene/anno/2/specificResource/1", + "type": "SpecificResource", + "source": { + "id": "https://example.org/iiif/canvas/1", + "type": "Canvas" + }, + "transform": [ + { + "type": "ScaleTransform", + "x": 2.1687, + "y": 2.8273, + "z": 1.0 + } + ] }, "target": { "id": "https://example.org/iiif/3d/anno2/target", @@ -58,8 +70,10 @@ }, "selector": [ { - "type": "PolygonZSelector", - "value": "POLYGONZ((-1.0843 2.8273 -2, -1.0843 0 -2, 1.0843 0 -2, 1.0843 2.8273 -2))" + "type": "PointSelector", + "x": -1.08435, + "y": 2.8273, + "z": -2.0 } ] } @@ -73,8 +87,8 @@ "type": "Canvas", "label": { "en": ["Painting"]}, "backgroundColor": "#c0c0c0", - "height": 28273, - "width": 21687, + "width": 1, + "height": 1, "items": [ { "id": "https://example.org/iiif/scene1/page/p2/1", From 071e8217c111bac52640595c435376566e5c5b56 Mon Sep 17 00:00:00 2001 From: Julie Winchester Date: Fri, 29 May 2026 11:44:25 -0500 Subject: [PATCH 2/2] Apply suggestion from @JulieWinchester --- .../iiif_canvas_with_bgcolor_forward.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/6_2d_canvases_in_scene/iiif_canvas_with_bgcolor_forward.json b/manifests/6_2d_canvases_in_scene/iiif_canvas_with_bgcolor_forward.json index 876fc9f..3a64e2d 100644 --- a/manifests/6_2d_canvases_in_scene/iiif_canvas_with_bgcolor_forward.json +++ b/manifests/6_2d_canvases_in_scene/iiif_canvas_with_bgcolor_forward.json @@ -88,7 +88,7 @@ "label": { "en": ["Painting"]}, "backgroundColor": "#c0c0c0", "width": 1, - "height": 1, + "height": 1, "items": [ { "id": "https://example.org/iiif/scene1/page/p2/1",