ascii

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Generate

func Generate(reader io.Reader, width int) (string, error)

Generate Converts any Image too an ascii image

func Pixel2Char

func Pixel2Char(img image.Image) []byte

Pixel2Char Converts pixel too grey scale and replaces with a character whose intensity is similar

func Resize

func Resize(img image.Image, width int) image.Image

Resize resizes the image into the final width while maintaining aspect ratio

Types

This section is empty.

Jump to

Keyboard shortcuts

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