magickImplodeImage method

Future<bool> magickImplodeImage({
  1. required double amount,
  2. required PixelInterpolateMethod method,
})

MagickImplodeImage() creates a new image that is a copy of an existing one with the image pixels "implode" by the specified percentage.

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

  • amount: Define the extent of the implosion.
  • method: the pixel interpolation method.

Implementation

Future<bool> magickImplodeImage({
  required double amount,
  required PixelInterpolateMethod method,
}) =>
    _magickCompute(
      _magickImplodeImage,
      _MagickImplodeImageParams(
        _wandPtr.address,
        amount,
        method,
      ),
    );