convert method
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);
}