ComfyUI Node: Resize To Canvas Size (COI)
Run ComfyUI workflows without the setup
No installs, no CUDA version roulette, no GPU sitting idle on your bill. Bring a workflow and run it in the browser.
Category
image/transform
Inputs
image IMAGE
width INT
height INT
anchor_grid STRING
anchor_mode
- manual
- mask_bbox_centre
- mask_weighted_centre
scale_method
- None – use original size
- Fit to Canvas short edge
- Fit to Canvas long edge
- Fit to Canvas height
- Fit to Canvas width
fill_method
- crop
- stretch
padding_fill
- black
- white
- gray_50
- transparent
- custom
- noise
custom_color_hex STRING
noise_seed INT
mask MASK
custom_color_hex_input STRING
Outputs
IMAGE
MASK
Extension: ComfyUI-ResizeToCanvasSize
A ComfyUI custom node pack that resizes images to an exact target canvas size with full control over scaling, cropping, and placement.
Authored by Carasibana
Looking for a different node?
More nodes in ComfyUI-ResizeToCanvasSize
Run ComfyUI workflows without the setup
No installs, no CUDA version roulette, no GPU sitting idle on your bill. Bring a workflow and run it in the browser.