magickCoalesceImages method

Future<MagickWand?> magickCoalesceImages()

magickCoalesceImages() composites a set of images while respecting any page offsets and disposal methods. GIF, MIFF, and MNG animation sequences typically start with an image background and each subsequent image varies in size and offset. magickCoalesceImages() returns a new sequence where each image in the sequence is the same size as the first and composited with the next image in the sequence.

Don't forget to call destroyMagickWand on the returned MagickWand when done.

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

Implementation

Future<MagickWand?> magickCoalesceImages() async => MagickWand._fromAddress(
      await _magickCompute(_magickCoalesceImages, _wandPtr.address),
    );