ComfyUI Node: Image and Mask Resize

Authored by DemonAlone

Created

Updated

3 stars

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

utils

Inputs

image IMAGE
mask MASK
width INT
height INT
method
  • stretch
  • keep proportion
  • fill / crop
  • pad
interpolation
  • nearest
  • bilinear
  • bicubic
  • area
  • nearest-exact
  • lanczos
condition
  • always
  • downscale if bigger
  • upscale if smaller
  • if bigger area
  • if smaller area
multiple_of INT

Outputs

IMAGE

MASK

INT

INT

Extension: DemonAlone-nodes-ComfyUI

A collection of nodes that provide dynamic dropdown selectors for Samplers, Schedulers, Checkpoints, and Diffusion Models, outputting a comma-separated string for use in XY plots.

Authored by DemonAlone

Looking for a different node?

Also provided by 1 other extension

  • Image and Mask ResizeDemonAlone-nodes-ComfyUI
    utils

    A versatile utility node for synchronously resizing images and masks. Supports multiple scaling methods (stretch, keep proportion, fill/crop, pad), various interpolation filters, and conditional logic to resize only when necessary. Automatically handles empty outputs if an input tensor is missing.

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.

Learn more