~dricottone/image2ascii

fc681bf0eebaaed73e03b6b07813ac39b366a0c6 — 秦世成 6 years ago e47126c
Add some convert to fixed the lint issue
1 files changed, 3 insertions(+), 0 deletions(-)

M convert/convert.go
M convert/convert.go => convert/convert.go +3 -0
@@ 6,7 6,9 @@ import (
	"github.com/qeesung/image2ascii/ascii"
	"image"
	"image/color"
	// Support decode jpeg image
	_ "image/jpeg"
	// Support deocde the png image
	_ "image/png"
	"log"
	"os"


@@ 21,6 23,7 @@ type Options struct {
	Colored        bool
}

// DefaultOptions for convert image
var DefaultOptions = Options{
	Ratio:          1,
	ExpectedWidth:  -1,