add_brightness_contrast_effect method

add_brightness_contrast_effect

Adds the new BrightnessContrast effect to the end of a collection.

Returns

Index of the new image effect in a collection.

def add_brightness_contrast_effect(self, brightness, contrast):
    ...
ParameterTypeDescription
brightnessfloatThe percent to change the brightness.
contrastfloatThe percent to change the contrast.

See Also