Shrink or enlarge animated GIFs by width, height, a bounding box, or a percentage scale, resizing every frame while keeping each frame's timing and the loop count intact. Originals are never touched; resized copies go to a 'resized' subfolder.
Resize a single animated GIF and save a copy. Aspect ratio is preserved unless both width and height are given, in which case it is fit inside that box.
Inputs
Name
Type
Required / default
Values and notes
gif
path
required
width
int
optional, default 0
height
int
optional, default 0
scale
float
optional, default 0.0
max_size
int
optional, default 480
allow_upscale
bool
optional, default false
out
path
optional, default ""
Outputs
Name
Type
Notes
file
path
width
int
height
int
frames
int
Resize a folder of GIFs
resize_folder
Resize every .gif directly inside a folder to the same target size, writing copies to a 'resized' subfolder. Originals are never modified.