https://github.com/bodleian/iiif-static-choices
A IIIF static tile and manifest generator built using Python to generate IIIF tiled images and manifests. This application was put together to de-mystify the process of creating and hosting IIIF content and allow implementations without the need for specialist infrastructure such as imaging servers (iip) and manifest servers.
Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (14.3%) to scientific vocabulary
Repository
A IIIF static tile and manifest generator built using Python to generate IIIF tiled images and manifests. This application was put together to de-mystify the process of creating and hosting IIIF content and allow implementations without the need for specialist infrastructure such as imaging servers (iip) and manifest servers.
Basic Info
- Host: GitHub
- Owner: bodleian
- License: mpl-2.0
- Language: JavaScript
- Default Branch: main
- Size: 198 MB
Statistics
- Stars: 10
- Watchers: 5
- Forks: 0
- Open Issues: 2
- Releases: 3
Metadata Files
README.md
iiif-static-choices
A IIIF static tile and manifest generator built using Python to generate IIIF tiled images and manifests.
This application was put together to de-mystify the process of creating and hosting IIIF content and allow implementations without the need for specialist infrastructure such as imaging servers (iip) and manifest servers.
It also includes the Bodleian Libraries Mirador plug-in written as part of the ARCHiOx project and the Mirador image-tools plug-in and is also intended as a vehicle to test the capabilities of using 2D images to encode and present 3D information.
A simple Python server application is included to serve the Mirador or Openseadragon via your local browser, it is not intended for a production environment and would need replacing with something else more suitable for the job.
Licensing
This project is covered by the Mozilla Public License except for the bundled Mirador and Openseadragon builds which are covered by their own licenses.
The tile generation part of this project is based on and translated from the work of Glen Robson in his Java iiif-tiler
Dependencies
- Python 3.9
- Poetry
Installation Instructions
Install the project after installing Python and Poetry, as follows:
bash
poetry install --no-root
Basic Instructions
For this quick guide we'll be using the existing example images and manifest-config.yml files present in the image directory.
Run the tile generation as follows, this will generate v3 static tiles in the
iiif/imagefolder:bash poetry run python iiif_generator.py tiles -t 256 -v 3.0Note: for Windows/WSL users: Add-i http://localhost:8000/iiif/ -d imageto the command to avoid connection issues.Run the manifest generator as follows, this will generate a v3 manifest in the
iiif/manifestfolder:bash poetry run python iiif_generator.py manifest -f ammonite-config.yml -o pyritised-ammonite.jsonNote: for Windows/WSL users: Add-s http://localhost:8000 -d imageto the command to avoid connection issues.Run the basic server application as follows:
bash poetry run python server 8000
Using your own images and manifest-config.yml
To use your own images and manifest-config.yml do the following:
Copy your image files into the project directory called
image.Create a manifest_config.yml file from the template provided, add real values to this and copy this to the
imagedirectory too. You can find a populated one inimagefor reference. Or skip ahead and use the examples already there.Run through the steps in Basic Instructions again.
What should it look like?
If you've done the above set up correctly and the server is running, you can go to your browser and enter the address: http://localhost:8000/ and you will see the following. Click the buttons like the cursor does in the animated gif to play around in 2.5D in Mirador.

Todo
- add in thumbnail generation for the choices layers in Mirador, this could be done during manifest generation
- add in logo generation
- add in multi-page manifests
- add some unit tests to prevent development breaking
Docker Support
A Docker container with web interface is available for easier deployment and usage without Python installation. See docker-gui/README.md for complete Docker documentation and GUI usage instructions.
Owner
- Name: Bodleian Libraries
- Login: bodleian
- Kind: organization
- Location: Oxford, UK
- Website: https://www.bodleian.ox.ac.uk
- Repositories: 56
- Profile: https://github.com/bodleian
The Bodleian Libraries of the University of Oxford
GitHub Events
Total
- Create event: 2
- Issues event: 2
- Watch event: 8
- Delete event: 2
- Issue comment event: 2
- Member event: 2
- Push event: 20
- Pull request review comment event: 5
- Pull request review event: 7
- Pull request event: 9
- Fork event: 1
Last Year
- Create event: 2
- Issues event: 2
- Watch event: 8
- Delete event: 2
- Issue comment event: 2
- Member event: 2
- Push event: 20
- Pull request review comment event: 5
- Pull request review event: 7
- Pull request event: 9
- Fork event: 1
Issues and Pull Requests
Last synced: 7 months ago
All Time
- Total issues: 2
- Total pull requests: 4
- Average time to close issues: N/A
- Average time to close pull requests: 3 days
- Total issue authors: 1
- Total pull request authors: 2
- Average comments per issue: 0.0
- Average comments per pull request: 0.75
- Merged pull requests: 3
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 2
- Pull requests: 4
- Average time to close issues: N/A
- Average time to close pull requests: 3 days
- Issue authors: 1
- Pull request authors: 2
- Average comments per issue: 0.0
- Average comments per pull request: 0.75
- Merged pull requests: 3
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- BeebBenjamin (2)
Pull Request Authors
- BeebBenjamin (7)
- jcanofuentes (2)
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- imageio 2.34.1
- numpy 2.0.0
- pillow 10.3.0
- pyyaml 6.0.1
- imageio ^2.34.0
- python ^3.9
- pyyaml ^6.0.1