brightness_contrast


Description:

[ Version ( deprecated = true , deprecated_since = "3.2" , since = "2.10" ) ]
public bool brightness_contrast (double brightness, double contrast)

Warning: brightness_contrast is deprecated since 3.2.

Modify brightness/contrast in the specified drawable.

Note:

Use filter "gimp:brightness-contrast" instead.

This procedures allows the brightness and contrast of the specified drawable to be modified. Both 'brightness' and 'contrast' parameters are defined between -1.0 and 1.0.

Parameters:

this

The drawable.

brightness

Brightness adjustment.

contrast

Contrast adjustment.

Returns:

TRUE on success.