ascii

package
v0.0.0-...-0baccbe Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2023 License: Apache-2.0 Imports: 14 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Encode

func Encode(w io.Writer, m image.Image, o ...Options) error

Types

type Ascii

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

func Decode

func Decode(r io.Reader, o ...Options) (a *Ascii, err error)

func (Ascii) WriteTo

func (this Ascii) WriteTo(w io.Writer) (n int64, err error)

type Options

type Options struct {
	Width  int
	Height int
	Color  bool
	Invert bool
	Flipx  bool
	Flipy  bool
}

Jump to

Keyboard shortcuts

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