magickAppendImages method

Future<MagickWand?> magickAppendImages(
  1. bool stack
)

Append the images in a wand from the current image onwards, creating a new wand with the single image result. This is affected by the gravity and background settings of the first image. Typically you would call either magickResetIterator() or magickSetFirstImage() before calling this function to ensure that all the images in the wand's image list will be appended together.

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

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

  • stack : By default, images are stacked left-to-right. Set stack to true to stack them top-to-bottom.

Implementation

Future<MagickWand?> magickAppendImages(bool stack) async =>
    MagickWand._fromAddress(
      await _magickCompute(
        _magickAppendImages,
        _MagickAppendImagesParams(_wandPtr.address, stack),
      ),
    );