magickWriteImage method

Future<bool> magickWriteImage(
  1. String imageFilePath
)

Writes an image to the specified filename. If the filename parameter is NULL, the image is written to the filename set by magickReadImage() or magickSetImageFilename().

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

Implementation

Future<bool> magickWriteImage(String imageFilePath) async =>
    await _magickCompute(
      _magickWriteImage,
      _MagickWriteImageParams(_wandPtr.address, imageFilePath),
    );