https://github.com/jcbritobr/img2ascii
Simple term ascii image encoder fully tested.
https://github.com/jcbritobr/img2ascii
ascii ascii-art encoder go golang image image-processing tdd testing
Last synced: about 1 year ago
JSON representation
Simple term ascii image encoder fully tested.
- Host: GitHub
- URL: https://github.com/jcbritobr/img2ascii
- Owner: jcbritobr
- License: mit
- Created: 2020-08-16T14:48:08.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-08-16T18:12:37.000Z (almost 6 years ago)
- Last Synced: 2024-06-20T14:28:55.083Z (about 2 years ago)
- Topics: ascii, ascii-art, encoder, go, golang, image, image-processing, tdd, testing
- Language: Go
- Homepage:
- Size: 201 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# img2ascii
Simple term ascii image encoder fully tested.
* **Test** \
update golden files
```sh
$ go go test ./... -update
```
```sh
$ go go test ./... -cover -v
```
* **Build**
```sh
$ go build -v
```
* **Usage**
```sh
$ ./img2ascii -h
Usage of ./img2ascii:
-f string
-f (default "sample.jpg")
-s uint
-s (default 70)
```
```sh
$ ./img2ascii -f encoder/testdata/tux.jpg -s 60
```

```sh
$ ./img2ascii -f encoder/testdata/julio.jpg -s 60
```
