ComfyUI Node
✂️ Smart Align & Crop
有参考图→对齐参考尺寸居中裁切;无参考图→等比缩小到1080p内
✂️ Smart Align & Crop
- images
- reference_image
- images
- out_width
- out_height
◄resampleLanczos(推荐)►
◄max_width1920►
◄max_height1080►
CategoryLouis_use
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| images | IMAGE | — | |
| resample | COMBO | Lanczos(推荐) | 4 options: Lanczos(推荐), Bicubic, Bilinear, Nearest |
| reference_imageopt | IMAGE | 连接参考图后,所有输入图等比缩放并居中裁切到与参考图完全相同的尺寸。不连接则每张图自动等比缩小到 max_width×max_height 以内。 | |
| max_widthopt | INT | 192064–8192 | 无参考图时的最大宽度(默认 1920) |
| max_heightopt | INT | 108064–8192 | 无参考图时的最大高度(默认 1080) |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| images | IMAGE | — |
| out_width | INT | — |
| out_height | INT | — |