~dricottone/image2ascii

2f0a0c7dac31df55b4c3f458d66cacd5121eafa7 — 秦世成 6 years ago 22ac3f4
Update README.md
1 files changed, 7 insertions(+), 1 deletions(-)

M README.md
M README.md => README.md +7 -1
@@ 98,8 98,14 @@ import (
)

func main() {
	// Create convert options
	convertOptions := convert.DefaultOptions
	convertOptions.FixedWidth = 100
	convertOptions.FixedHeight = 40

	// Create the image converter
	converter := convert.NewImageConverter()
	fmt.Print(converter.ImageFile2ASCIIString(imageFilename, convertOptions))
	fmt.Print(converter.ImageFile2ASCIIString(imageFilename, &convertOptions))
}
```