Arithmetic effect

The Arithmetic effect performs various simple mathematical operations on the red, green, and blue channels of an image.

This effect works with 8-bpc color.

Operator
The operation to perform between the value you specify for each channel and the existing value of that channel for each pixel in the image:
And, Or, and Xor
Apply bitwise logical operations.

Add, Subtract, Multiply, and Difference
Apply basic math functions.

Max
Set the channel value of the pixel to the greater of the specified value and the original value of the pixel.

Min
Set the channel value of the pixel to the lesser of the specified value and the original value of the pixel.

Block Above
Set the channel value of the pixel to zero if the original value of the pixel is greater than the value specified; otherwise, leave the original value.

Block Below
Set the channel value of the pixel to zero if the original value of the pixel is less than the value specified; otherwise, leave the original value.

Slice
Set the channel value of the pixel to 1.0 if the original value of the pixel is above the specified value; otherwise, set the value to zero. In both cases, the values for the other color channels are set to 1.0.

Screen
Multiplies the complements of the channel values, and then takes the complement of the result. The result color is never darker than either input color.

Clip Result Values
Prevents all functions from creating color values that exceed the valid range. If this option isn’t selected, some color values may wrap around.