Documentation
¶
Overview ¶
Package sixel encodes and decodes DEC sixel images.
Portions of this package are adapted from github.com/mattn/go-sixel.
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 decodes sixel format into an image.
type Encoder ¶
type Encoder struct {
// Width is the maximum width to draw to.
Width int
// Height is the maximum height to draw to.
Height int
// Colors sets the maximum number of sixel color registers. If the value is
// below 2, then 255 is used. One register is reserved for transparent
// pixels, so 255 allows a 254 color palette.
Colors int
// contains filtered or unexported fields
}
Encoder encodes an image to sixel format.
Click to show internal directories.
Click to hide internal directories.