Skip to content

Brighten Activity

The Brighten activity adjusts the luminosity of an image. It enables users to either increase the brightness for a lighter appearance or decrease it for a darker effect.

Field Description Requirement
Input image Path, file name, and extension of the image to be processed. Required
Output image Path, file name, and extension for the processed output image. Required
Brightness level Specifies the intensity of the brightness adjustment. Positive values (1 to 255) increase brightness, while negative values (-1 to -255) decrease it. Optional

Action Types & Examples

Input Image Path

  • Format: String (file path)
  • Example Result: C:\Robusta\robusta.jpg

Output Image Path

  • Format: String (file path)
  • Example Result: C:\Robusta\grayscale.jpg

Brightness Level

  • Format: Digit (integer)
  • Example Result: 50

Implementation Examples

Field Setup - Input image: C:\Robusta\robusta.jpg - Output image: C:\Robusta\grayscale.jpg

Execution Parameters - Brightness level: 50

Technical Notes

Ensure that the specified input image file exists and is accessible. The output directory must also have appropriate write permissions for the activity to save the processed image successfully. Invalid file paths or insufficient permissions will result in an execution error.