Documentation ¶ Overview ¶ Package sixel implements a decoder for the DEC Sixel terminal image format. Index ¶ func Decode(r io.Reader) (image.Image, error) type Decoder func (Decoder) Decode(data []byte) (*picsetgo.Image, error) func (Decoder) Format() string func (Decoder) FormatInfo() picsetgo.FormatInfo func (Decoder) Match(data []byte) bool Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Decode ¶ added in v0.5.5 func Decode(r io.Reader) (image.Image, error) Decode reads a sixel image. It buffers the input and returns a *picsetgo.Image through the standard image.Image interface, preserving metadata, warnings and any animation frames. The caller owns the reader. Types ¶ type Decoder ¶ type Decoder struct{} func (Decoder) Decode ¶ func (Decoder) Decode(data []byte) (*picsetgo.Image, error) func (Decoder) Format ¶ func (Decoder) Format() string func (Decoder) FormatInfo ¶ func (Decoder) FormatInfo() picsetgo.FormatInfo func (Decoder) Match ¶ func (Decoder) Match(data []byte) bool Source Files ¶ View all Source files decoder.goreader.go Click to show internal directories. Click to hide internal directories.