ComfyUI Node
Image Crop By Mask Resolution Grp JK๐
Calculate crop parameters based on mask with various resolution options.
Image Crop By Mask Resolution Grp JK๐
- mask
- image
- latent
- crop_width
- crop_height
- offset_x
- offset_y
- target_width
- target_height
โpadding0โบ
โuse_image_resfalseโบ
โuse_target_resfalseโบ
โtarget_res1024โบ
โuse_target_mega_pixelfalseโบ
โtarget_mega_pixel1.00โบ
Category๐ JK/๐ฉ๏ธ Image
Inputs (9)
| Name | Type | Default | Description |
|---|---|---|---|
| mask | MASK | โ | |
| padding | INT | 00โ512 | โ |
| use_image_res | BOOLEAN | false | โ |
| use_target_res | BOOLEAN | false | โ |
| target_res | INT | 10240โ16384 | โ |
| use_target_mega_pixel | BOOLEAN | false | โ |
| target_mega_pixel | FLOAT | 1.000.01โ16 | โ |
| imageopt | IMAGE | โ | |
| latentopt | LATENT | โ |
Outputs (6)
| Name | Type | Description |
|---|---|---|
| crop_width | INT | โ |
| crop_height | INT | โ |
| offset_x | INT | โ |
| offset_y | INT | โ |
| target_width | INT | โ |
| target_height | INT | โ |