magickPingImage method
MagickPingImage() is the same as MagickReadImage() except the only valid information returned is the image width, height, size, and format. It is designed to efficiently obtain this information from a file without reading the entire image sequence into memory.
This method runs inside an isolate different from the main isolate.
fileName
: The image filename.
Implementation
Future<bool> magickPingImage(String fileName) async => await _magickCompute(
_magickPingImage,
_MagickPingImageParams(
_wandPtr.address,
fileName,
),
);