copyImageChannels method

void copyImageChannels({
  1. required Command? from,
  2. bool scaled = false,
  3. Channel? red,
  4. Channel? green,
  5. Channel? blue,
  6. Channel? alpha,
  7. Command? mask,
  8. Channel maskChannel = Channel.luminance,
})

Implementation

void copyImageChannels(
    {required Command? from,
    bool scaled = false,
    Channel? red,
    Channel? green,
    Channel? blue,
    Channel? alpha,
    Command? mask,
    Channel maskChannel = Channel.luminance}) {
  subCommand = CopyImageChannelsCmd(subCommand,
      from: from,
      scaled: scaled,
      red: red,
      green: green,
      blue: blue,
      alpha: alpha,
      mask: mask,
      maskChannel: maskChannel);
}