Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Decoder ¶
type Decoder struct {
// contains filtered or unexported fields
}
Decoder decode sixel format into image
type Encoder ¶
type Encoder struct { // Dither, if true, will dither the image when generating a paletted version // using the Floyd–Steinberg dithering algorithm. Dither bool // Width is the maximum width to draw to. Width int // Height is the maximum height to draw to. Height int // Colors sets the number of colors for the encoder to quantize if needed. // If the value is below 2 (e.g. the zero value), then 255 is used. // A color is always reserved for alpha, so 2 colors give you 1 color. Colors int // contains filtered or unexported fields }
Encoder encode image to sixel format
Click to show internal directories.
Click to hide internal directories.