Batch-resize and convert images to a target long side, exact width, exact height, or a bounding box, writing resized copies to a 'resized' subfolder while leaving originals untouched.
Resize a single image file and save a copy. Aspect ratio is preserved unless both width and height are given, in which case the image is fit inside that box.
Inputs
Name
Type
Required / default
Values and notes
image
path
required
max_size
int
optional, default 1920
width
int
optional, default 0
height
int
optional, default 0
format
enum
optional, default keep
keepjpegpngwebp
quality
int
optional, default 90
allow_upscale
bool
optional, default false
out
path
optional, default ""
Outputs
Name
Type
Notes
file
path
width
int
height
int
Resize a folder
resize_folder
Resize every image in a folder to a target long side (or width/height), writing copies to a 'resized' subfolder. Originals are never modified.