sixel

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: May 10, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decode

func Decode(reader io.Reader, bg color.Color) (image.Image, error)

func NewDecoder

func NewDecoder(reader io.Reader, bg color.Color) *decoder

Types

type ColourMap

type ColourMap struct {
	// contains filtered or unexported fields
}

func NewColourMap

func NewColourMap() *ColourMap

func (*ColourMap) FindColour

func (m *ColourMap) FindColour(colour color.Color) (uint8, bool)

func (*ColourMap) GetColour

func (m *ColourMap) GetColour(id uint8) color.Color

func (*ColourMap) SetColour

func (m *ColourMap) SetColour(id uint8, c color.Color)

Jump to

Keyboard shortcuts

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