Skip to main content

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

InputTypeDescriptionDefault
RunEventFires when the node starts running-
ImageDataThe input image to modify-
OpacityNumberThe opacity level to apply, where 0.0 is fully transparent and 1.0 is fully opaque1.0

Outputs

OutputTypeDescription
OutputDataThe processed image with adjusted opacity
DoneEventFires 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

  1. Connect your watermark image to the Image input
  2. Set the Opacity to 0.4 for 40% transparency
  3. Connect the Output to the src input of a Composite Image node
  4. Position the watermark using the Composite Image's x and y coordinates
  5. Trigger the Run event to generate the semi-transparent overlay

Fading an Image for Transitions

  1. Connect an image to the Image input
  2. Connect a Number node or variable to the Opacity input with a value of 0.2 for 20% opacity
  3. Use the Output as a background element or in a sequence where the image needs to be subtle
  4. The Done event can trigger subsequent nodes in the workflow once processing is complete