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.
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)
| Name | Type | Default | Description |
|---|---|---|---|
| angle | FLOAT | 0.0-360–360 | Rotation in degrees, positive = clockwise. Drag on the canvas to rotate; Shift snaps to 15°. |
| expand | BOOLEAN | false | Off: output keeps the input dimensions (corners crop, uncovered areas fill). On: output grows to the rotated bounding box; pivot has no effect. |
| fill_color | STRING | #000000 | Hex color painted where the rotated image no longer covers the frame. |
| interpolation | COMBO | 3 options: bilinear, nearest, bicubic | |
| pivot_x | FLOAT | 0.50000–1 | — |
| pivot_y | FLOAT | 0.50000–1 | — |
| imageopt | IMAGE | — | |
| loaded_imageopt | COMBO | 2 options: none, example.png | |
| debugopt | BOOLEAN | false | — |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | — |
| mask | MASK | — |
| source_image | IMAGE | — |