Opacity Image
Controlled node
Overview
The Opacity Image node adjusts the transparency level of an input image. This is useful for creating watermarks, fading images into backgrounds, or layering multiple images with varying transparency levels. The node accepts an opacity value between 0.0 (completely transparent) and 1.0 (completely opaque) and outputs a new image with the adjusted opacity.
Inputs
| Input | Type | Description | Default |
|---|---|---|---|
| Run | Event | Fires when the node starts running | - |
| Image | Data | The input image to modify | - |
| Opacity | Number | The opacity level to apply, where 0.0 is fully transparent and 1.0 is fully opaque | 1.0 |
Outputs
| Output | Type | Description |
|---|---|---|
| Output | Data | The processed image with adjusted opacity |
| Done | Event | Fires when the node has finished processing |
Runtime Behavior and Defaults
When executed, the node creates a clone of the input image and applies the specified opacity value. The opacity value is automatically clamped between 0.0 and 1.0 to ensure valid image processing results.
- Default Opacity: 1.0 (fully opaque, resulting in no visible change to the original image)
- Value Range: 0.0 to 1.0 (values outside this range are clamped)
- Processing: The node creates a new image instance and does not modify the original input image
- Output Format: The output maintains the same dimensions and format as the input image
Example Usage
Creating a Watermark Effect
- Connect your watermark image to the Image input
- Set the Opacity to
0.4for 40% transparency - Connect the Output to the
srcinput of a Composite Image node - Position the watermark using the Composite Image's x and y coordinates
- Trigger the Run event to generate the semi-transparent overlay
Fading an Image for Transitions
- Connect an image to the Image input
- Connect a Number node or variable to the Opacity input with a value of
0.2for 20% opacity - Use the Output as a background element or in a sequence where the image needs to be subtle
- The Done event can trigger subsequent nodes in the workflow once processing is complete