magickGetImageFormat method

String magickGetImageFormat()

MagickGetImageFormat() returns the format of a particular image in a sequence.

Implementation

String magickGetImageFormat() {
  final Pointer<Char> formatPtr =
      _magickWandBindings.MagickGetImageFormat(_wandPtr);
  final String format = formatPtr.toNullableString()!;
  _magickRelinquishMemory(formatPtr.cast());
  return format;
}