IIIF / iiif-stories

Community repository for documenting stories and use cases related to uses of the International Image Interoperability Framework.
21 stars 0 forks source link

Accessing a single page of a multi-page document using the Image API #103

Open adolski opened 6 years ago

adolski commented 6 years ago

Description

The Image API doesn't provide a recommendation for accessing a "resource within a resource" -- for example, assuming the identifier URI component identifies a PDF file, the individual pages aren't addressable.

I would like to have a standard and effective way of retrieving a representation of a single page of a multi-page document. Currently, my only option is to provide identifiers for each page, but unlike other identifiers, these wouldn't map directly to source resources (such as document files) without some kind of arbitrary implementation-specific translation.

Variation(s)

Although I'm talking about document pages here, this could really describe a standard way of addressing any "resource within a resource": a page of a document, a frame of a video... and maybe other things.

Proposed Solutions

Additional Background

My main use case is creation of thumbnails for PDF pages, but this feature could also be used for easy integration of PDFs and other documents into existing image viewer clients.

Currently, the Cantaloupe image server provides a page= URI query argument to solve this problem, but I'd like to have a better and more standard way.