Expand description
Utility functions to manipulate images.
Functionsยง
- load
- Loads an image from a file.
- load_
and_ resize - Loads and resize an image, preserve the aspect ratio by taking a center crop.
- load_
and_ resize_ from_ memory - Loads and resize an image from memory, preserve the aspect ratio by taking a center crop.
- load_
dir - Loads all the images in a directory.
- load_
from_ memory - Loads an image from memory.
- resize
- Resizes an image.
- resize_
preserve_ aspect_ ratio - Resize an image, preserve the aspect ratio by taking a center crop.
- resize_
preserve_ aspect_ ratio_ hwc - save
- Saves an image to a file.