julsraemy / GenIIIF

IIIF Collections Generator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

IIIF Collections Generator

The IIIF (International Image Interoperability Framework) Collections Generator (GenIIIF) has been created in the context of the seminar Angewandte Programmierprojekte at the University of Basel and also for the needs of the Participatory Knowledge Practices in Analogue and Digital Image Archives (PIA) project.

Rationale

At the moment, the PIA infrastructure, though the deployment of the Simple Image Presentation Interface (SIPI), supports the IIIF Image API 3.0 as well the IIIF Presentation API 3.0 to some extent where IIIF Manifests have been generated on the basis of existing digital surrogates from the Swiss Society for Folklore Studies (SSFS) such as https://iiif.participatory-archives.ch/14759/manifest.json.

The purpose of GenIIIF is for (savvy) end users to create custom IIIF Collections, to save the generated JSON file and display the digital objects in compatible viewers such as Mirador or the Universal Viewer.

IIIF-compliant resources

IIIF-compliant resources are serialised in JSON-LD. From the different types (cf. Defined Types of the IIIF Data Model), there are two important ones (Manifest and Collection):

  • Manifest are the equivalent of a compound object and contain the descriptive metadata as well as the structure, described with Ranges, of how the object is composed by pointing to image-based content (images and audiovisual assets) embedded or painted onto an abstract space called a Canvas - either static content available online or content that is dereferenced from a digital service compliant with the IIIF Image APIs (V2.1 or V3) can be included.
  • Collection is an ordered list of Manifests or Collections which looks like this:
{
    "@context": "http://iiif.io/api/presentation/3/context.json",
    "id": "https://example.com/collection.json",
    "type": "Collection",
    "label": {
      "de": [
        "Label Collection of Manifests"
      ]
    },
    "summary": {
        "en": [
          "IIIF Collection of Manifests"
        ]
      },
    "items": [
      {
        "id": "https://example.com/001/manifest.json",
        "type": "Manifest",
        "label": {
          "de": [
            "Label Manifest 1"
          ]
        }
      },
      {
        "id": "https://example.com/002/manifest.json",
        "type": "Manifest",
        "label": {
          "de": [
            "Label Manifest 2"
          ]
        }
      },
            {
        "id": "https://example.com/003/manifest.json",
        "type": "Manifest",
        "label": {
          "de": [
            "Label Manifest 3"
          ]
        }
      }
    ]
  }

Application

The application is accessible here: https://github.com/Participatory-Image-Archives/iiifcurator3. It is an adaptation forked from Leander Seige's iiifcurator which can handle Presentation API V3 instead of Presentation API V2 resources.

References

Citation

Raemy, J. A. (2022). GenIIIF (Version 0.1.0) [Computer software]. DOI

About

IIIF Collections Generator

License:MIT License


Languages

Language:Python 100.0%