Change Image Color#

Changes the color of the image: brightness, contrast, grayscale.

Input Image

[Text] The name and path to the file with the image that needs to be processed.

Supported formats:

  • .jpg;
  • .png;
  • .bmp;
  • .gif;
  • .tiff.
Output Image

[Text] The name and path to the file for saving the processed image.

If the value is empty, the same file specified in the "Input Image" property will be used. Supported formats:

  • .jpg;
  • .png;
  • .bmp;
  • .gif;
  • .tiff.
Contrast[Number] New contrast value. Default value is 1.
Brightness[Number] New brightness value. Default value is 0.
GrayscaleWhen enabled, the image will be converted to grayscale.
Result[Text] The name and path to the processed image file.
Error Handling Level

Select the error handling level. Possible values:

  • "Default" - default;
  • "Ignore" - errors are ignored;
  • "Handle" - errors are handled.

If "Default" is selected, the value from the "Start" block of this diagram will be used.

Message Level

Select the message level that blocks will output during operation. Possible values:

  • "Default" - default;
  • "Release" - output is disabled;
  • "Debug" - main information output;
  • "Detailed" - detailed information output.

If "Default" is selected, the value from the "Start" block of this diagram will be used.

Error Text[Text] Returns detailed information about the error in case of incorrect execution of the block's work.