convert method

void convert({
  1. int? numChannels,
  2. Format? format,
  3. num? alpha,
  4. bool withPalette = false,
})

Convert an image by changing its format or number of channels.

Implementation

void convert(
    {int? numChannels,
    Format? format,
    num? alpha,
    bool withPalette = false}) {
  subCommand = ConvertCmd(subCommand,
      numChannels: numChannels,
      format: format,
      alpha: alpha,
      withPalette: withPalette);
}