Documentation
¶
Overview ¶
The convert package convert a image to ascii string or matrix
The resize package resize the image to expected size base on the ratio, for the most matched display
Index ¶
- func Image2ASCIIMatrix(image image.Image, imageConvertOptions *Options) []string
- func Image2ASCIIString(image image.Image, options *Options) string
- func ImageFile2ASCIIString(imageFilename string, option *Options) string
- func ScaleImage(image image.Image, options *Options) (newImage image.Image)
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Image2ASCIIMatrix ¶
Convert a image to ascii matrix
func Image2ASCIIString ¶
Convert a image to ascii matrix, then concat the matrix value to a long string for easy display
func ImageFile2ASCIIString ¶
Convert a image file to ascii string
Types ¶
Click to show internal directories.
Click to hide internal directories.