SixelImageDrawable constructor
SixelImageDrawable(})
Creates a Sixel protocol image drawable.
The image is resized to fit columns×rows cells before Sixel
encoding. Use maxColors to limit the palette, and cellPixelWidth /
cellPixelHeight to match the terminal's cell pixel dimensions.
Implementation
SixelImageDrawable(
this.image, {
this.columns,
this.rows,
this.maxColors = SixelImage.maxPaletteSize,
this.cellPixelWidth = 8,
this.cellPixelHeight = 16,
});