magickConvolveImage method

Future<bool> magickConvolveImage({
  1. required KernelInfo kernel,
})

Applies a custom convolution kernel to the image.

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

  • kernel: An array of doubles representing the convolution kernel.

Implementation

Future<bool> magickConvolveImage({required KernelInfo kernel}) async =>
    await _magickCompute(
      _magickConvolveImage,
      _MagickConvolveImageParams(_wandPtr.address, kernel),
    );