Nodes/Deno Custom Nodes/(Deno) Resize Box
ComfyUI Node

(Deno) Resize Box

DENO Custom Nodes vunknown. The DENO info button checks Comfy Registry and marks this node when an update is available. Resolution helper and image resize node for ComfyUI. Preset ratio, manual input, or keep-input-ratio auto mode with MP-based sizing, divisible-by alignment, crop/fit resize, and realtime ratio preview. YouTube: https://www.youtube.com/@Denoise-AI

By Deno2026·Created 4 months ago·Updated 24 days ago· 116
(Deno) Resize Box
  • image
  • image
  • width
  • height
modePreset Ratio
ratio_preset16:9
megapixels1.00
width1024
height1024
divisible_by32
resize_methodCenter Crop (Fill)
interpolationlanczos
CategoryDeno/Image

Inputs (9)

NameTypeDefaultDescription
modeCOMBOPreset RatioChoose how the output size is decided: preset ratio, manual width/height, or the input image ratio.
ratio_presetCOMBO16:9Target aspect ratio used in Preset Ratio mode.
megapixelsFLOAT1.000.01–10Target total image size in megapixels for automatic sizing modes.
widthINT102464–8192Manual or fallback output width in pixels.
heightINT102464–8192Manual or fallback output height in pixels.
divisible_byCOMBO32Round the final size to a model-safe multiple such as 16 or 32.
resize_methodCOMBOCenter Crop (Fill)Choose crop-fill or fit/letterbox behavior when resizing an input image.
interpolationCOMBOlanczosResize filter. Lanczos is the default quality choice.
imageoptIMAGEOptional source image. If empty, the node creates a blank image at the selected size.

Outputs (3)

NameTypeDescription
imageIMAGEResized image, or a blank image if no input image was connected.
widthINTFinal output width in pixels.
heightINTFinal output height in pixels.