ComfyUI Node: Eses Image Resize

Authored by quasiblob

Created

Updated

49 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

Eses Nodes/Image

Inputs

image IMAGE
scale_mode
  • multiplier
  • megapixels
  • target_width
  • target_height
  • both_dimensions
  • megapixels_with_ar
interpolation_method
  • area
  • bilinear
  • bicubic
  • lanczos
  • nearest-neighbor
upscale_model UPSCALE_MODEL
mask MASK
ref_image IMAGE
ref_mask MASK
multiplier FLOAT
megapixels FLOAT
target_width INT
target_height INT
ar_width INT
ar_height INT
keep_aspect_ratio BOOLEAN
crop_to_fit BOOLEAN
fit_to_frame BOOLEAN
letterbox_color STRING
letterbox_mask_is_white BOOLEAN
divisible_by INT

Outputs

IMAGE

MASK

INT

INT

STRING

Extension: EsesImageResize

The 'Eses Image Resize' node offers comprehensive image resizing capabilities within ComfyUI. It supports various scaling modes including scaling by a specific ratio, target megapixels, or directly to fixed dimensions. The node provides framing options to handle aspect ratio changes, allowing users to 'Crop to Fit' (fill) the target frame or 'Fit to Frame' (letterbox) the image with a customizable fill color. It also generates and outputs a corresponding mask, with control over the letterbox area's color (black or white) within the mask.

Authored by quasiblob

Looking for a different node?

Other Eses Nodes/Image nodes

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