magickStereoImage method

Future<MagickWand?> magickStereoImage(
  1. MagickWand offsetWand
)

MagickStereoImage() composites two images and produces a single image that is the composite of a left and right image of a stereo pair.

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

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

  • offsetWand: Another image wand.

Implementation

Future<MagickWand?> magickStereoImage(MagickWand offsetWand) async =>
    MagickWand._fromAddress(
      await _magickCompute(
        _magickStereoImage,
        _MagickStereoImageParams(
          _wandPtr.address,
          offsetWand._wandPtr.address,
        ),
      ),
    );