Warning: color_balance is deprecated since 3.2.
Modify the color balance of the specified drawable.
Use filter "gimp:color-balance" instead.
Modify the color balance of the specified drawable. There are three axis which can be modified: cyan-red, magenta-green, and yellow-blue. Negative values increase the amount of the former, positive values increase the amount of the latter. Color balance can be controlled with the 'transfer_mode' setting, which allows shadows, mid-tones, and highlights in an image to be affected differently. The 'preserve-lum' parameter, if TRUE, ensures that the luminosity of each pixel remains fixed.
| this |
The drawable. |
| transfer_mode |
Transfer mode. |
| preserve_lum |
Preserve luminosity values at each pixel. |
| cyan_red |
Cyan-Red color balance. |
| magenta_green |
Magenta-Green color balance. |
| yellow_blue |
Yellow-Blue color balance. |
|
TRUE on success. |