png2ascii

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2022 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Black = Colour{
	// contains filtered or unexported fields
}
View Source
var White = Colour{
	// contains filtered or unexported fields
}

Functions

This section is empty.

Types

type Codec

type Codec interface {
	Convert(img image.Image, dest string, debug bool) error
}

type Colour

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

func (*Colour) Set

func (u *Colour) Set(s string) error

func (Colour) String

func (c Colour) String() string

type Png2Png

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

func NewPng2Png

func NewPng2Png(profile profile.Profile) (*Png2Png, error)

func (Png2Png) Convert

func (m Png2Png) Convert(img image.Image, dest string, debug bool) error

type Png2Txt

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

func NewPng2Txt

func NewPng2Txt(profile profile.Profile) (Png2Txt, error)

func (Png2Txt) Convert

func (m Png2Txt) Convert(img image.Image, dest string, debug bool) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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