magickMorphImages method
MagickMorphImages() method morphs a set of images. Both the image pixels and size are linearly interpolated to give the appearance of a meta-morphosis from one image to the next.
This method runs inside an isolate different from the main isolate.
Don't forget to call destroyMagickWand on the returned MagickWand when done.
numberFrames
: the number of in-between images to generate.
Implementation
Future<MagickWand?> magickMorphImages(int numberFrames) async =>
MagickWand._fromAddress(
await _magickCompute(
_magickMorphImages,
_MagickMorphImagesParams(
_wandPtr.address,
numberFrames,
),
),
);