Stay updated
News & InsightsAPI ReferenceTransforms & TargetsLib ComparisonTargets by TransformFAQAlbumentations License Guide
Albumentations 2.0.19🛠Albumentations 2.0.18 Release Notes🛠Albumentations 2.0.17 Release Notes🛠Albumentations 2.0.16 Release Notes🛠Albumentations 2.0.15 Release Notes🛠Albumentations 2.0.14 Release Notes🛠Albumentations 2.0.13 Release Notes🛠Albumentations 2.0.12 Release Notes🛠Albumentations 2.0.11 Release Notes🛠Albumentations 2.0.10 Release Notes🛠Albumentations 2.0.9 Release Notes
View on GitHub ↗2025-09-14
Resize backends
Added Pillow backend for resize. Now you can Pillow, OpenCV, pyvips
To pick resize backend:
Pillow
pip install pillow
export ALBUMENTATIONS_RESIZE=pillow
Pyvips
pip install pvips
export ALBUMENTATIONS_RESIZE=pyvips
OpenCV (default)
export ALBUMENTATIONS_RESIZE=opencv
Different resize backend is used in:
Map resolution range
In a set of transforms we generate pixel map between original and resulting pixels which could be slow.
Parameter map_resolution_range allows to generate a smaller size map and upscale after that. Such trick makes transform faster but sightly less accurate.
Affects transforms: