magickRangeThresholdImage method
MagickRangeThresholdImage() applies soft and hard thresholding.
This method runs inside an isolate different from the main isolate.
Implementation
Future<bool> magickRangeThresholdImage({
  required double lowBlack,
  required double lowWhite,
  required double highWhite,
  required double highBlack,
}) async =>
    await _magickCompute(
      _magickRangeThresholdImage,
      _MagickRangeThresholdImageParams(
        _wandPtr.address,
        lowBlack,
        lowWhite,
        highWhite,
        highBlack,
      ),
    );