AsciiArt

package
v0.0.0-...-69312e8 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2018 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ColorToGray

func ColorToGray(c color.Color) uint8

func ColorToGray16

func ColorToGray16(c color.Color) uint16

func Gray16ToChar

func Gray16ToChar(gray uint16, chars []byte) byte

func GrayToChar

func GrayToChar(gray uint8, chars []byte) byte

func Image2AsciiArt

func Image2AsciiArt(img image.Image, chars []byte, width, height int) []byte

Image2AsciiArt convert an image into a specified size character picture using chars as a dictionary

Types

This section is empty.

Jump to

Keyboard shortcuts

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