{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# More fun with IIIF\n", "\n", "[IIIF](https://iiif.io/) (the International Image Interoperability Framework) has defined a set of standards for publishing and using image collections. The State Library of Victoria makes many of its images available from an IIIF-compliant server. This means you can access and manipulate the images in standard ways set out by the [IIIF Image API](https://iiif.io/api/image/2.1/). This notebook demonstrates some of the possibilities.\n", "\n", "There are more details about the [default image](http://handle.slv.vic.gov.au/10381/25896) used in this notebook on the SLV site. If you would like to try these examples with another image, just go to the image in the SLV viewer. Underneath the image, you'll see a box like this. Select the IIIF tab, copy the url, then paste it in the cell below.\n", "\n", "![IIIF link box in image viewer](images/iiif-link.png)" ] }, { "cell_type": "code", "execution_count": 1, "metadata": {}, "outputs": [], "source": [ "# Replace with another IIIF link if you want!\n", "manifest_url = 'https://rosetta.slv.vic.gov.au/delivery/iiif/presentation/2.1/IE1164978/manifest'" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "
If you haven't used one of these notebooks before, they're basically web pages in which you can write, edit, and run live code. They're meant to encourage experimentation, so don't feel nervous. Just try running a few cells and see what happens!
\n", "\n", "\n", " Some tips:\n", "
Is this thing on? If you can't edit or run any of the code cells, you might be viewing a static (read only) version of this notebook. Click here to load a live version running on Binder.
\n", "\n", "