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

◆ grayscale() [3/4]

static void xtd::drawing::image_converter::grayscale ( xtd::drawing::image image,
double  percent 
)
static

Converts into grayscale of the specified image with specified percent factor.

Parameters
imageThe image to be transformed into grayscale.
percentThe percent factor in % (from 0.0 to 1.0).
Remarks
Thus, 1.0 will make the color completely gray, while 0.0 return the original image.
Appearance
Original Converted