xtd
0.2.0
Loading...
Searching...
No Matches
◆
color_substitution()
[2/2]
static
xtd::drawing::image
xtd::drawing::image_converter::color_substitution
(
const
xtd::drawing::image
&
image
,
int32
threshold
,
const
drawing::color
&
source_color
,
const
xtd::drawing::color
&
new_color
)
static
noexcept
Creates a new image where the specified source color is replaced by the new color.
Parameters
image
The image to filter.
threshold
The threshold value (from 0 to 765).
source_color
The source color.
new_color
The new color.
Returns
The converted image.
Appearance
Original
Converted
xtd
drawing
image_converter
Generated on Sat Sep 14 2024 21:25:20 for xtd by
Gammasoft
. All rights reserved.