~dricottone/image2ascii

fe3f9eba02b746cf4238e46e71fe5e0a54ad5bdd — qeesung 6 years ago 596b61e
fixed the go lint issue
2 files changed, 2 insertions(+), 1 deletions(-)

M ascii/ascii.go
M convert/convert.go
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 {