magickCharcoalImage method

Future<bool> magickCharcoalImage({
  1. required double radius,
  2. required double sigma,
})

Simulates a charcoal drawing.

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

  • radius : the radius of the Gaussian, in pixels, not counting the center pixel.
  • sigma : the standard deviation of the Gaussian, in pixels.

Implementation

Future<bool> magickCharcoalImage(
        {required double radius, required double sigma}) async =>
    await _magickCompute(
      _magickCharcoalImage,
      _MagickCharcoalImageParams(_wandPtr.address, radius, sigma),
    );