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

◆ color_substitution() [1/2]

static void xtd::drawing::image_converter::color_substitution ( xtd::drawing::image image,
int32  threshold,
const drawing::color source_color,
const xtd::drawing::color new_color 
)
staticnoexcept

Replaces the specified source color with the new color.

Parameters
imageThe image to filter.
thresholdThe threshold value (from 0 to 765).
source_colorThe source color.
new_colorThe new color.
Appearance
Original Converted