sixel

package
v0.5.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 24, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package sixel implements a decoder for the DEC Sixel terminal image format.

Index

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL