ConfigurationΒΆ
Invenio-IIIF depends heavily on Flask-IIIF
module for images transformation. Configurations related to images formats, resize and caching are
provided by Flask-IIIF
:
- IIIF_RESIZE_RESAMPLE
- Specifies the algorithm used to resample the image. The default one is PIL.image.BICUBIC
- IIIF_CACHE_HANDLER
- Specifices how to cache thumbnails, e.g. in memory, Redis or any custom implementation.
- IIIF_CACHE_TIME
- Specifies for how long images will be cached.
- IIIF_FORMATS
- Specifies the supported images formats and associated MIME types