Overview

IIIF Image API level 0 delivers images using pre-generated static tile images. This enables image publishing using only static file hosting services such as GitHub Pages or Amazon S3. However, it has the drawback of not being able to extract arbitrary regions of images.

This article introduces an example of publishing images using IIIF Image API level 0.

Tool

You can try it with the following notebook.

https://colab.research.google.com/github/nakamura196/ndl_ocr/blob/main/IIIF_Image_API_静的ファイル作成ツール.ipynb

This notebook is based on the following script.

https://github.com/zimeon/iiif/blob/main/iiif_static.py

Published Example

Here is an example displaying tile images published on GitHub Pages.

https://www.kanzaki.com/works/2016/pub/image-annotator?u=https://nakamura196.github.io/iiif_static/files/tile/kunshujo/info.json

Summary

I introduced a method to support IIIF Image API (level 0) using only static files.

I hope you find this useful after considering the advantages and disadvantages of this approach.