Showing 1 block

Image: Resize

In pins

Input path
The input path of the original image (Wont be saved over)
Width (optional)
The new width in pixels. Leave empty to auto-scale the height
Height (optional)
The new height in pixels. Leave empty to auto-scale the width
Quality (optional)
The quality of the file (1-100)
Fit (optional)
Default: cover. Options: cover, contain, fill, inside, outside
Position (optional)
Can only be used with fit cover or contain. Default: centre. Options: top right top, right, right bottom, bottom, left bottom, left, left top, centre

Out pins

File paths
Array with the new file paths
True if all images succeeded. False if one or more images are failing
Error messages
Failed paths
Array of file paths that failed