ComfyUI Node
✂ S42 CutFlow Crop & Pad
A ComfyUI node in S42 CutFlow/Composition with 6 inputs and 3 outputs.
✂ S42 CutFlow Crop & Pad
- clip
- clip
- frame_count
- info
◄modeaspect_ratio►
◄target_width0►
◄target_height0►
◄ratio_preset16:9►
◄pad_color#000000►
CategoryS42 CutFlow/Composition
Inputs (6)
| Name | Type | Default | Description |
|---|---|---|---|
| clip | IMAGE | Video clip to crop or pad. | |
| mode | COMBO | aspect_ratio | 'crop' = cut to exact dimensions. 'pad_letterbox' = add black bars top/bottom. 'pad_pillarbox' = add black bars left/right. 'aspect_ratio' = auto-detect best fit for target ratio. |
| target_width | INT | 00–8192 | Target width in pixels. 0 = derive from ratio. |
| target_height | INT | 00–8192 | Target height in pixels. 0 = derive from ratio. |
| ratio_preset | COMBO | 16:9 | Aspect ratio preset. 'keep' = don't change ratio. Used when target_width or target_height is 0. |
| pad_color | STRING | #000000 | Padding/letterbox color (hex). Click swatch to pick. |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| clip | IMAGE | — |
| frame_count | INT | — |
| info | STRING | — |