ComfyUI Mask Editor’s rotate and mirror actions apply to the Mask, Paint, and Base Image layers together. To keep them aligned, check each layer against the same visible landmarks after the transform, not just the combined preview; choose Save only when the alignment is acceptable, or Cancel to close without saving.
Know what the transform changes
The top bar offers Rotate Left (90° counter-clockwise), Rotate Right (90° clockwise), Mirror Horizontal (flip horizontally), and Mirror Vertical (flip vertically). The documentation says these operations affect all three layers simultaneously. The Mask is the mask overlay, Paint contains RGB edits, and Base Image is the original source image.
That shared transform is the intended behavior, but it does not replace a visual check. A mask overlay can make the composite look plausible while obscuring a shift in a paint mark or the image beneath it. Temporarily toggle layer visibility in the right-side Layers section to inspect each layer against recognizable content.
Transform and inspect in order
- Open the Mask Editor for the image you intend to edit. The documented routes include selecting a Load Image node and using the mask button, using Edit or mask image on an image preview, or choosing Open in Mask Editor from the node’s right-click menu.
- Before changing orientation, identify two or three landmarks you can compare later: for example, a corner, a face feature, and the end of a painted stroke. Note which way the image should turn or flip. Left and right rotations are 90-degree turns, not arbitrary-angle rotation.
- Use the appropriate top-bar action once. For a quarter-turn counter-clockwise choose Rotate Left; for a quarter-turn clockwise choose Rotate Right. Choose Mirror Horizontal to flip left-to-right, or Mirror Vertical to flip top-to-bottom.
- In the right-side Layers section, check the Mask, Paint, and Base Image individually. Toggle visibility as needed, and compare their landmarks in the canvas. Do not infer that all three look correct merely because the overlay and base appear convincing together.
- If a layer appears inconsistent, pause before editing the mask or paint. Use Undo to revert the last action, or Redo to restore it, then repeat the transform and inspect again. Save only after the independent checks pass.
- Choose Save to save the mask and close the editor. Choose Cancel to close without saving. Record which choice you made along with the alignment result if another person will review the work.
Example acceptance check
The following is a hypothetical review, not a software test or a claim about an observed result. A creator turns a landscape source 90 degrees clockwise before using its mask. The table records what they would inspect; “aligned” means the same recognizable point remains in the expected relationship across the layers.
| Check | Hypothetical observation | Decision |
|---|---|---|
| Direction | The top bar action was Rotate Right; the source is intended to turn clockwise | Direction matches the plan |
| Base Image | The red sign corner and the subject’s eye appear in their expected new positions | Reference points are identifiable |
| Mask | The mask boundary still follows the subject at the eye and shoulder | Mask passes this visual check |
| Paint | A small blue touch-up remains beside the same sign corner | Paint passes this visual check |
| Final action | All three checks pass, and no further change is needed | Choose Save; otherwise choose Cancel |
This is a practical acceptance record, not a pixel-level guarantee. If you cannot confidently compare a layer because it is hidden, make that layer visible and repeat the check before deciding.
If alignment still looks wrong
First distinguish a direction mistake from a layer mismatch. A horizontal mirror reverses left and right; a vertical mirror reverses top and bottom. A 90-degree rotation changes orientation, so compare landmarks by their new positions rather than expecting them to remain in the same screen coordinates.
If you used the wrong action, undo it and apply the intended one. If the action was correct but one layer still appears wrong, toggle visibility and check the Mask, Paint, and Base Image separately. The documentation establishes that the transform applies to all three layers, but it does not specify a repair procedure for a layer that appears out of alignment, nor does it promise that the editor can reconstruct an earlier alignment. Do not guess at a corrective edit: cancel if you do not want to retain the current session’s edits, then reopen and review the transform deliberately.
Does Rotate Left rotate by 90 degrees? Yes. The documented action is a 90-degree counter-clockwise rotation. Does Mirror Horizontal flip top-to-bottom? No; horizontal mirroring flips left-to-right, while vertical mirroring flips top-to-bottom. What does Cancel do? It closes the editor without saving; Save saves the mask and closes the editor.
Sources
Sources and next step
This guide interprets public documentation and uses explicitly hypothetical acceptance examples, not application tests. Controls and availability can change; verify the cited manual against your installed version.
For work created in Imagild, carry the input requirements and acceptance checklist into the photo editor. The external software controls discussed above belong to their respective products.