Changing the brightness affects completely invisible pixels whose alpha values are 0. When used on an image like that, and lowering the brightness, the invisible pixels become visibly darker.
It seems almost as if the alpha values are darkened too.
Note: this function interprets the input value for contrast correctly, so positive values increase contrast, negative values decrease it.
Changing the brightness affects completely invisible pixels whose alpha values are 0. When used on an image like that, and lowering the brightness, the invisible pixels become visibly darker.
It seems almost as if the alpha values are darkened too.
Note: this function interprets the input value for contrast correctly, so positive values increase contrast, negative values decrease it.