M ascii/ascii.go => ascii/ascii.go +1 -0
@@ 10,6 10,7 @@ import (
"reflect"
)
+// PixelASCII is converted pixel ascii
type PixelASCII struct {
Char byte
R uint8
M convert/convert.go => convert/convert.go +1 -1
@@ 84,7 84,7 @@ func (converter *ImageConverter) Image2PixelASCIIMatrix(image image.Image, image
return pixelASCIIs
}
-// Image2PixelASCIIMatrix convert a image to a pixel ascii matrix
+// ImageFile2PixelASCIIMatrix convert a image to a pixel ascii matrix
func (converter *ImageConverter) ImageFile2PixelASCIIMatrix(imageFilename string, imageConvertOptions *Options) [][]ascii.PixelASCII {
img, err := OpenImageFile(imageFilename)
if err != nil {