Version 1.2.0 (released 2024-12-12)
- fix: docs reference target not found
- setup: remove werkzeug pin
Version v1.1.1 (released 2024-11-05)
- setup: remove werkzeug pin
Version v1.1.0 (released 2024-08-26)
- resize: added upscaling params for h & w
Here you can see the full list of changes between each Flask-IIIF release.
- api: fix resize of greyscale source images
- bump flask to >=2.0, pin Werkzeug <3.0
- fix deprecated use of
attachment_filename
- remove custom resizing of GIF
- Removes encoding of key, due to incompatibility with python3
- Makes temp folder location regarding the generation of gif files configurable
- Removes upper pinning of Werkzeug
- Closes image after usage to avoid leaking memory during api requests
- Migrates CI to gh-actions
- Updates copyright and contributors
- Added missing
app
argument for theflask_iiif.cache.ImageCache
constructor.
- Removes support for Python 2.7
- Image API specification fixes
- Support both
gray
andgrey
as valid qualities. - Rotations are now performed clock-wise.
- No padding added to resized images.
- Support both
- Better support for image extension conversions (
.tif/.tiff
,.jp2
). - Pillow bumped to v4.0
- Introduced
IIIF_CACHE_IGNORE_ERRORS
config variable to allow ignoring cache access exceptions. - Changed
current_iiif.cache
from a callable function to a Werkzeugcached_property
.
- Adds Last-Lodified and If-Modified-Since to imageapi
- Removes warning message for LocalProxy
- Fixes werkzeug deprecation warning
- Sets Redis cache prefix
- Fixes cache control headers
- Fixes syntax error in documentation
- Fixes import sorting
- Fixes
- wrong ratio calculation for best fit
- New features
- adds black background to requested best fit thumbnail or gif if the image does not cover the whole window of requested size
- Fixes unicode filename issues.
- Changes default resampling algorithm to BICUBIC for better image quality.
- Adds support for _external, _scheme etc parameters for iiif_image_url.
- Security
- Fixed missing API protection on image metadata endpoint.
- Deployment changes.
- New features
- Adds TIFF image support to the default config.
- Adds proper GIF resize.
- Adds optional Redis cache.
- Notes
- Minimum Pillow version is update to 3.4.
- Incompatible changes
- Removes uuid_to_path_handler callback.
- Updates error classes names (MultimediaImageResizeError and MultimediaImageCropError).
- New features
- Adds image information request endpoint <uuid>/info.json which contains available metadata for the image, such as the full height and width, and the functionality available for the image, such as the formats in which it may be retrieved, and the IIIF profile used.
- Adds new signals to REST API that permits to have access before and after process of the request as well as after the validation of IIIF.
- Adds a configurable decorator to the REST API which can be configure with the api_decorator_handler.
- Adds the uuid_to_image_opener_handler which can handle both fullpath and bytestream as source.
- Improved features
- Improves the initialisation of the REST API by adding a possibility to override the default API prefix /api/multimedia/image/.
- Adds better testing cases and increases the overall test efficiency.
- Notes
- The decorator can be used to restrict access to the REST API.
- Initial public release.