ComfyUI Node: Resize Image v2

Authored by kijai

Created

Updated

2859 stars

Run Resize Image v2 without installing ComfyUI

This node already runs on ComfyICU. Open it in the browser, hit run, and you're billed for GPU seconds — not for setup, and not while you're idle.

Category

KJNodes/image

Inputs

image IMAGE
width INT
height INT
upscale_method
  • nearest-exact
  • bilinear
  • area
  • bicubic
  • lanczos
  • nvidia_rtx_vsr
keep_proportion
  • stretch
  • resize
  • pad
  • pad_edge
  • pad_edge_pixel
  • crop
  • pillarbox_blur
  • total_pixels
pad_color STRING
crop_position
  • center
  • top
  • bottom
  • left
  • right
divisible_by INT
mask MASK
device
  • cpu
  • gpu

Outputs

IMAGE

INT

INT

MASK

Extension: KJNodes for ComfyUI

Various quality of life -nodes for ComfyUI, mostly just visual stuff to improve usability.

Authored by kijai

Looking for a different node?

Also provided by 1 other extension

  • Image Resize KJ v2 (Swwan)ComfyUI_Swwan
    Swwan/image

    Resizes the image to the specified width and height. Size can be retrieved from the input. Keep proportions keeps the aspect ratio of the image, by highest dimension.

Run Resize Image v2 without installing ComfyUI

This node already runs on ComfyICU. Open it in the browser, hit run, and you're billed for GPU seconds — not for setup, and not while you're idle.

Learn more