ComfyUI Node
Image_Resize(mki-图像大小调整)
Resize images with various methods and constraints. 使用多种方法和约束调整图像大小。
Image_Resize(mki-图像大小调整)
- image
- image
- width
- height
◄upscale_methodauto►
◄crop_methodcenter►
◄size1024►
◄GCD1►
◄width—►
◄height—►
◄short_side—►
CategoryMakkiTools
Inputs (8)
| Name | Type | Default | Description |
|---|---|---|---|
| upscale_method | COMBO | auto | Method to upscale the image 图像放大方法 |
| crop_method | COMBO | center | Method to crop the image 图像裁剪方法 |
| size | INT | 10241–8192 | Target size (based on selected dimension) 目标尺寸(基于选定的维度) |
| GCD | INT | 11–512 | Greatest Common Divisor constraint 最大公约数约束 |
| imageopt | IMAGE | Input image 输入图像 | |
| widthopt | INT | 1–8192 | Target width 目标宽度 |
| heightopt | INT | 1–8192 | Target height 目标高度 |
| short_sideopt | INT | 1–8192 | Short side length 短边长度 |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | — |
| width | INT | — |
| height | INT | — |