magickSetImageChannelMask method

Future<bool> magickSetImageChannelMask(
  1. ChannelType channelMask
)

MagickSetImageChannelMask() sets image channel mask.

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

Implementation

Future<bool> magickSetImageChannelMask(ChannelType channelMask) async =>
    await _magickCompute(
      _magickSetImageChannelMask,
      _MagickSetImageChannelMaskParams(
        _wandPtr.address,
        channelMask,
      ),
    );