magickBlackThresholdImage method
magickBlackThresholdImage()
is like MagickThresholdImage() but forces
all pixels below the threshold into black while leaving all pixels above
the threshold unchanged.
This method runs inside an isolate different from the main isolate.
pixelWand
: the pixel wand to determine the threshold.
Implementation
Future<bool> magickBlackThresholdImage(PixelWand pixelWand) async =>
await _magickCompute(
_magickBlackThresholdImage,
_MagickBlackThresholdImageParams(
_wandPtr.address,
pixelWand._wandPtr.address,
),
);