magickSteganoImage method

Future<MagickWand?> magickSteganoImage({
  1. required MagickWand watermarkWand,
  2. required int offset,
})

MagickSteganoImage() hides a digital watermark within the image. Recover the hidden watermark later to prove that the authenticity of an image. Offset defines the start position within the image to hide the watermark.

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

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

  • watermarkWand : the watermark wand.
  • offset : Start hiding at this offset into the image.

Implementation

Future<MagickWand?> magickSteganoImage({
  required MagickWand watermarkWand,
  required int offset,
}) async =>
    MagickWand._fromAddress(
      await _magickCompute(
        _magickSteganoImage,
        _MagickSteganoImageParams(
          _wandPtr.address,
          watermarkWand._wandPtr.address,
          offset,
        ),
      ),
    );