Resize Image (KJ/SET)
SET_ImageResize
Resizes the image to the specified width and height. Size can be retrieved from the input (when w=h=0) or a reference image. Keep proportions keeps the aspect ratio of the image, by highest dimension.
Pack: Image Misc
custom_nodes.ComfyUI-ImageMisc
Inputs (13)
| Name | Type | Required |
|---|---|---|
| image | IMAGE | required |
| width | INT | required |
| height | INT | required |
| upscale_method | COMBO | required |
| keep_proportion | COMBO | required |
| pad_color | STRING | required |
| crop_position | COMBO | required |
| divisible_by | INT | required |
| mask | MASK | optional |
| device | COMBO | optional |
| get_image_size | IMAGE | optional |
| per_batch | INT | optional |
| pad_transparency | FLOAT | optional |