createImage method

void createImage({
  1. required int width,
  2. required int height,
  3. Format format = Format.uint8,
  4. int numChannels = 3,
  5. bool withPalette = false,
  6. Format paletteFormat = Format.uint8,
  7. Palette? palette,
  8. ExifData? exif,
  9. IccProfile? iccp,
  10. Map<String, String>? textData,
})

Create an Image.

Implementation

void createImage(
    {required int width,
    required int height,
    Format format = Format.uint8,
    int numChannels = 3,
    bool withPalette = false,
    Format paletteFormat = Format.uint8,
    Palette? palette,
    ExifData? exif,
    IccProfile? iccp,
    Map<String, String>? textData}) {
  subCommand = CreateImageCmd(subCommand,
      width: width,
      height: height,
      format: format,
      numChannels: numChannels,
      withPalette: withPalette,
      paletteFormat: paletteFormat,
      palette: palette,
      exif: exif,
      iccp: iccp,
      textData: textData);
}