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

◆ contrast() [2/2]

static xtd::drawing::image xtd::drawing::image_converter::contrast ( const xtd::drawing::image image,
double  percent 
)
static

Creates a new contrasting image of the specified image with specified percent factor.

Parameters
imageThe image to change contrast.
percentThe percent factor in % (from 0.0 to 1.0).
Returns
The converted image.
Remarks
Thus, 1.0 returns the original image, while the other values give a contrasting image.
Appearance
Original Converted