Invert either the visible RGB colors or the alpha channel of one image, making hidden pixels visible and visible pixels transparent when Alpha is selected.
Where: Flowgen → Add → Image & Vector → Adjust → Invert
Key ideas
- Invert is one graph step: Invert either the visible RGB colors or the alpha channel of one image, making hidden pixels visible and visible pixels transparent when Alpha is selected.
- Typed sockets: Inputs: Image / image_in — one source image.. Outputs: Image Output / image_out — the RGB- or alpha-inverted result.. Settings stay on the node rather than masquerading as extra wires.
- Card and Properties agree: The compact card and selected-node Properties sidebar expose the same persisted controls: Channel: RGB or Alpha..
- Execution behavior: This browser-local pure operation previews automatically after a short pause while a control changes, then overwrites one durable result file after the value settles. Deselecting the card or starting a downstream flow flushes the pending save. A terminal error exposes Retry; there is no normal Run button.
- Cost and privacy boundary: It calls no generation provider and charges no Sparks/Flowies. Processing happens in the open browser, so it cannot execute in a headless/server-only flow and the source must be readable by the page.
- Invert card: PureOpNode uses the authored shared-card path. Invert visible RGB values or alpha locally.
- Properties sidebar: Card-owned operation controls; common properties shell
- Opened surfaces: Live image preview
Steps
- Connect an image.
- Choose RGB for color inversion or Alpha for transparency inversion.
- Inspect semi-transparent edges, not only the center of the subject.
- Place a contrasting background downstream when reviewing Alpha.
- Wait for the saved output to settle.
- Connect Image Output onward.
Inputs
- Image / image_in — one source image.
Outputs
- Image Output / image_out — the RGB- or alpha-inverted result.
Controls
- Channel: RGB or Alpha.
Important behavior
- RGB creates a photographic/color negative while preserving transparency.
- Alpha reverses coverage: opaque becomes transparent and transparent becomes opaque.
- Use Matte Grow / Shrink or Merge Alpha when the actual job is mask refinement/compositing rather than channel inversion.
MCP authoring
- Create with create_node { type: "imageInvert" }.
- Connect exact handles with connect_nodes when the node has more than one input or output.
- Use set_props with the complete opParams bag and let the open Flowgen client preview/save it; there is no normal run_node step.
Invert controls and presets
- Add path: Flowgen → Add → Image & Vector → Adjust → Invert.
- Card: PureOpNode.
- Properties: Card-owned operation controls; common properties shell.
- Controls: RGB; Alpha.
- Opened surfaces: Live image preview.
Tips
- Test the operation on one representative asset before placing it inside a List iteration.
- Keep the untouched source upstream so the operation can be changed or bypassed later.
- Judge edges and color at the intended delivery size as well as at full preview size.
Limitations and important notes
- Alpha inversion does not automatically repair RGB color hidden under transparent pixels.
- RGB inversion is a literal channel operation, not a perceptual complementary-color grade.
Troubleshooting
Alpha inversion appears unchanged
The source may be fully opaque. Use Mask Extractor or Remove BG first to create meaningful transparency.
FAQ
Does this open the full Image Editor?
No. This is a focused Flowgen node. Use Image Editor when you need layers, selections, paint, paths, or several edits in one document.
Can I use it in a List iteration?
Yes. Wire the current row field into the typed input, collect the exact output handle, and test one row before scaling the run.