digirati-co-uk / iiif-manifest-editor

Create new IIIF Manifests. Modify existing manifests. Tell stories with IIIF.
https://manifest-editor.digirati.services/
MIT License
31 stars 2 forks source link

Media 4. Image with Image Service (not from) #196

Closed tomcrane closed 1 year ago

tomcrane commented 2 years ago

Reference: https://tomcrane.github.io/scratch/me/media.html#case4

Data

Media is a static image, and has an image service, but that image service does not appear to be the source of the static image. (It still might be - e.g., the static image has a rewritten URL for neatness - but ME can’t detect this and shouldn’t try). In the items list, it has the label Image with Image Service.

{
    "id": "https:/example.org/anno1",
    "type": "Annotation",
    "motivation": "painting",
    "body": {
        "id": "https:/example.org/images/my-large-image.jpg",
        "type": "Image",
        "width": 791,
        "height": 1024,
        "format": "image/jpeg",
        "service": [
            {
                "@id": "https:/example.org/images/service-12421",
                "@type": "ImageService2",
                "profile": "http://iiif.io/api/image/2/level1.json"
            }
        ]
    },
    "target": "https:/example.org/canvas1"
}

Editing Scenario

You can delete the whole thing - the whole painting anno.

Or you can delete the image service. This operation turns 4. into 1.

Creation Scenario

You could only create this arrangement by starting with 1., and then adding an image service to it manually.

Because 1 is not identifiable by the ME as an image service, you can only go from 4 to 1, or 1 to 4.