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
(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)
| Name | Type | Default | Description |
|---|---|---|---|
| mode | COMBO | Preset Ratio | Choose how the output size is decided: preset ratio, manual width/height, or the input image ratio. |
| ratio_preset | COMBO | 16:9 | Target aspect ratio used in Preset Ratio mode. |
| megapixels | FLOAT | 1.000.01–10 | Target total image size in megapixels for automatic sizing modes. |
| width | INT | 102464–8192 | Manual or fallback output width in pixels. |
| height | INT | 102464–8192 | Manual or fallback output height in pixels. |
| divisible_by | COMBO | 32 | Round the final size to a model-safe multiple such as 16 or 32. |
| resize_method | COMBO | Center Crop (Fill) | Choose crop-fill or fit/letterbox behavior when resizing an input image. |
| interpolation | COMBO | lanczos | Resize filter. Lanczos is the default quality choice. |
| imageopt | IMAGE | Optional source image. If empty, the node creates a blank image at the selected size. |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | Resized image, or a blank image if no input image was connected. |
| width | INT | Final output width in pixels. |
| height | INT | Final output height in pixels. |