Nodes/ComfyCollectorNodes/Rotate Image (CCN)
ComfyUI Node

Rotate Image (CCN)

Interactive visual rotation. Drag on the canvas to rotate around a draggable pivot (center by default). With expand off the output keeps the input frame and uncovered areas take fill_color; with expand on the output grows to the rotated bounding box. 'mask' is white where the fill shows (including bounding-box corners in expand mode) for inpainting; 'source_image' passes through the unrotated image.

By valkymaera·Created 3 months ago·Updated 4 days ago· 1
Rotate Image (CCN)
  • image
  • image
  • mask
  • source_image
angle0.0
expandfalse
fill_color#000000
interpolation
pivot_x0.5000
pivot_y0.5000
loaded_image
debugfalse
CategoryComfyCollectorNodes/Image

Inputs (9)

NameTypeDefaultDescription
angleFLOAT0.0-360–360Rotation in degrees, positive = clockwise. Drag on the canvas to rotate; Shift snaps to 15°.
expandBOOLEANfalseOff: output keeps the input dimensions (corners crop, uncovered areas fill). On: output grows to the rotated bounding box; pivot has no effect.
fill_colorSTRING#000000Hex color painted where the rotated image no longer covers the frame.
interpolationCOMBO3 options: bilinear, nearest, bicubic
pivot_xFLOAT0.50000–1
pivot_yFLOAT0.50000–1
imageoptIMAGE
loaded_imageoptCOMBO2 options: none, example.png
debugoptBOOLEANfalse

Outputs (3)

NameTypeDescription
imageIMAGE
maskMASK
source_imageIMAGE