magickGetImageMask method
Gets the image clip mask at the current image index.
Don't forget to call destroyMagickWand on the returned MagickWand when done.
This method runs inside an isolate different from the main isolate.
clipMask
: the type of the clip mask.
Implementation
Future<MagickWand?> magickGetImageMask(PixelMask type) async =>
MagickWand._fromAddress(await _magickCompute(
_magickGetImageMask,
_MagickGetImageMaskParams(
_wandPtr.address,
type,
),
));