ComfyUI Node
D2 Image Resize
A ComfyUI node in D2 with 13 inputs and 6 outputs.
D2 Image Resize
- image
- mask
- vae
- image
- width
- height
- rescale_factor
- latent
- mask
◄mode▾►
◄rescale_factor2.000►
◄preset▾►
◄resize_width1024►
◄resize_height1536►
◄rotate▾►
◄round_methodRound►
◄upscale_model▾►
◄resampling▾►
◄use_tiled_vaefalse►
CategoryD2
Inputs (13)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | — | |
| mode | COMBO | 2 options: rescale, resize | |
| rescale_factor | FLOAT | 2.0000.1–16 | — |
| preset | COMBO | 7 options: custom, 512 x 512, 512 x 768, 1024 x 1024, 768 x 1024, 832 x 1216, +1 | |
| resize_width | INT | 10241–48000 | — |
| resize_height | INT | 15361–48000 | — |
| rotate | COMBO | 4 options: None, 90 deg, 180 deg, 270 deg | |
| round_method | COMBO | Round | 4 options: Floor, Round, Ceil, None |
| upscale_model | COMBO | 1 options: None | |
| resampling | COMBO | 4 options: lanczos, nearest, bilinear, bicubic | |
| use_tiled_vae | BOOLEAN | false | — |
| maskopt | MASK | — | |
| vaeopt | VAE | — |
Outputs (6)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | — |
| width | INT | — |
| height | INT | — |
| rescale_factor | FLOAT | — |
| latent | LATENT | — |
| mask | MASK | — |