magickAutoThresholdImage method

Future<bool> magickAutoThresholdImage(
  1. AutoThresholdMethod method
)

Automatically performs image thresholding dependent on which method you specify.

This method runs inside an isolate different from the main isolate.

  • method : the method to use.

Implementation

Future<bool> magickAutoThresholdImage(AutoThresholdMethod method) async =>
    await _magickCompute(
      _magickAutoThresholdImage,
      _MagickAutoThresholdImageParams(_wandPtr.address, method.index),
    );