magickSetImageMatte method

Future<bool> magickSetImageMatte(
  1. bool matte
)

MagickSetImageMatte() sets the image matte channel.

  • matte: Set to true to enable the image matte channel otherwise false.

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

Implementation

Future<bool> magickSetImageMatte(bool matte) async => await _magickCompute(
      _magickSetImageMatte,
      _MagickSetImageMatteParams(
        _wandPtr.address,
        matte,
      ),
    );