ImageAlphaClear method
Clear alpha channel to desired color
Implementation
void ImageAlphaClear(
ImageD image,
ColorD color,
num threshold,
) => run(
() => _debugLabels.ImageAlphaClear(image, color, threshold),
() => _flat.ImageAlphaClear(
$.Image$.Ref1(image),
color,
threshold.toDouble(),
),
);