magickGetImageSignature method

String? magickGetImageSignature()

MagickGetImageSignature() generates an SHA-256 message digest for the image pixel stream.

Implementation

String? magickGetImageSignature() => using(
      (Arena arena) {
        final Pointer<Char> signaturePtr =
            _magickWandBindings.MagickGetImageSignature(_wandPtr);
        String? signature = signaturePtr.toNullableString();
        _magickRelinquishMemory(signaturePtr.cast());
        return signature;
      },
    );