Nodes/S42-CutFlow/📐 S42 CutFlow Aspect Convert
ComfyUI Node

📐 S42 CutFlow Aspect Convert

A ComfyUI node in S42 CutFlow/Utilities with 5 inputs and 3 outputs.

By GeekyGhost·Created 5 months ago·Updated 4 months ago· 3
📐 S42 CutFlow Aspect Convert
  • clip
  • clip
  • frame_count
  • info
target_ratio16:9
custom_ratio1.778
fit_modeletterbox
bg_color#000000
CategoryS42 CutFlow/Utilities

Inputs (5)

NameTypeDefaultDescription
clipIMAGEVideo clip to convert.
target_ratioCOMBO16:9Target aspect ratio. '16:9' = widescreen. '9:16' = vertical/phone. '1:1' = square. 'custom' = use custom_ratio value.
custom_ratioFLOAT1.7780.2–5Custom aspect ratio (width/height). 1.778 = 16:9. Only used when target_ratio='custom'.
fit_modeCOMBOletterbox'letterbox' = add black bars to preserve content. 'crop_center' = crop from center to fill. 'crop_smart' = center-weighted crop. 'stretch' = distort to fit.
bg_colorSTRING#000000Background/letterbox color (hex). Click swatch to pick.

Outputs (3)

NameTypeDescription
clipIMAGE
frame_countINT
infoSTRING