Overview
I created a program to generate Pyramid Tiled TIFF files using pyvips. You can try it on the following Google Colab.
https://colab.research.google.com/drive/1VO1PgKgS3H21zXpg4g2inN-mtIrON5TQ?usp=sharing
When delivering images via IIIF, there are situations where Pyramid Tiled TIFF files need to be created. We hope this is helpful for image conversion using Python and Vips.
The parameters are based on the following.
https://github.com/samvera-labs/serverless-iiif#using-vips
Also, as one example of how to deliver converted Pyramid Tiled TIFF files, the following article may also be helpful.
Key Points
Installing vips
To use pyvips, vips must be installed in advance. The following is helpful.
https://www.libvips.org/install.html
Creating Pyramid Tiled TIFF Files with pyvips
Use as follows.
The above should produce the same result as the following.