magickCompareImagesLayers method
magickCompareImagesLayers()
compares each image with the next in a
sequence and returns the maximum bounding region of any pixel differences
it discovers.
Don't forget to call destroyMagickWand on the returned MagickWand when done.
This method runs inside an isolate different from the main isolate.
method
: the compare method.
Implementation
Future<MagickWand?> magickCompareImagesLayers(LayerMethod method) async =>
MagickWand._fromAddress(
await _magickCompute(
_magickCompareImagesLayers,
_MagickCompareImagesLayersParams(_wandPtr.address, method.index),
),
);