Skip to content

Commit

Permalink
Add some convert to fixed the lint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
qeesung committed Oct 26, 2018
1 parent e47126c commit fc681bf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions convert/convert.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -21,6 +23,7 @@ type Options struct {
Colored bool
}

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

0 comments on commit fc681bf

Please sign in to comment.