iiif-digital-collections

Fetches and parses IIIF Presentation manifests to extract metadata, images, and annotations.

33|6|Updated Mar 17, 2026
One-click install
npx skills add https://github.com/xjtulyc/awesome-rosetta-skills --skill iiif-digital-collections
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: iiif-digital-collections
Source: https://github.com/xjtulyc/awesome-rosetta-skills/tree/main/skills/16-art-music/iiif-digital-collections
Command: npx skills add https://github.com/xjtulyc/awesome-rosetta-skills --skill iiif-digital-collections

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires requests, Pillow, pandas, matplotlib.

What problem does it solve?

IIIF collections are published through standardized APIs, but turning manifests into usable images and scholarly text still requires careful parsing and request choreography. This Skill helps you reliably decode IIIF Presentation and Image APIs to retrieve canvases, specific image regions, and W3C Web Annotations for cross-institution research.

Core Features & Use Cases

  • IIIF manifest parsing (v2/v3): Fetch and extract core metadata like title, creator, date, rights, description, and canvas counts from Presentation API manifests.
  • IIIF image region download: Build Image API URLs and download full images or spatial regions for close analysis and citation-ready crops.
  • Annotation extraction (W3C Web Annotations): Identify and extract non-painting scholarly annotations, including transcriptions, tags, descriptions, motivations, selectors, and body text.
  • Cross-institution workflows: Compare and search across institutions by querying manifest endpoints and filtering by metadata terms.

Quick Start

Use the Skill to download an IIIF manifest, extract its canvas image service URLs, and then retrieve a specific region as an image for analysis.

Frequently Asked Questions about iiif-digital-collections

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I parse IIIF manifests to extract metadata and canvas images?

To extract W3C Web Annotations from IIIF manifests, apply robust JSON parsing to identify non-painting scholarly annotations. This process extracts transcriptions, tags, motivations, selectors, and body text from annotation page targets.

How do I download a specific image region from an IIIF Image API?

For cross-institution digital collection discovery, query manifest endpoints and filter the extracted metadata terms. This allows you to search across institutions and compare artifacts using standardized IIIF APIs.

Does this IIIF parsing approach support both v2 and v3 presentation schemas?

Yes, IIIF manifest parsing supports both v2 and v3 presentation schemas. It applies HTTPS manifest fetching with IIIF API-compliant parsing across both versions to reliably extract metadata and canvases.

How do I extract W3C Web Annotations from an IIIF manifest?

To extract W3C Web Annotations from IIIF manifests, apply robust JSON parsing to identify non-painting scholarly annotations. This process extracts transcriptions, tags, motivations, selectors, and body text from annotation page targets.

What is the best way to search across institutions using IIIF digital collections?

For cross-institution digital collection discovery, query manifest endpoints and filter the extracted metadata terms. This allows you to search across institutions and compare artifacts using standardized IIIF APIs.