xtd 0.2.0
Loading...
Searching...
No Matches

◆ gamma_correction() [2/2]

static xtd::drawing::image xtd::drawing::image_converter::gamma_correction ( const xtd::drawing::image image,
double  r,
double  g,
double  b 
)
static

Creates a new image with gamma correction of the specified image with specified r, g, ad b corrections.

Parameters
imageThe image to change the gamma.
rThe red correction from 0.1 to 5.
gThe green correction from 0.1 to 5.
bThe blue correction from 0.1 to 5.
Returns
The converted image.
Appearance
Original Converted