Showing 1 block

image: resize

In pins

flow
Files
The files to be resized. The resize will create new files and not overwrite the old ones.
Input path
Yes
v10.5.10
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

flow
Resized files
File paths
Yes
v10.5.10
Array with the new file paths
Success
True if all images succeeded. False if one or more images are failing
Errors
Error messages
Failed
Files which were not resized.
Failed paths
Yes
v10.5.10
Array of file paths that failed

Groups