https://github.com/jgcmarins/ascii-art
Given a image.bmp and a M x N group of pixels, generate a text that represents the image.bmp in ascii characters
https://github.com/jgcmarins/ascii-art
ascii ascii-art bmp cpp image-processing
Last synced: 23 days ago
JSON representation
Given a image.bmp and a M x N group of pixels, generate a text that represents the image.bmp in ascii characters
- Host: GitHub
- URL: https://github.com/jgcmarins/ascii-art
- Owner: jgcmarins
- License: mit
- Created: 2017-06-22T13:36:50.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2024-12-26T20:39:15.000Z (5 months ago)
- Last Synced: 2025-04-30T03:39:21.268Z (23 days ago)
- Topics: ascii, ascii-art, bmp, cpp, image-processing
- Language: C++
- Homepage:
- Size: 1.25 MB
- Stars: 21
- Watchers: 1
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ascii-art
Given a `image.bmp` and a `M x N` group of pixels, generate a text that represents the `image.bmp` in ascii characters.## results
Before|After
|---|---|
|
|
|## outputs
You can also check the outputs [here](https://github.com/jgcmarins/ascii-art/tree/master/out).## usage
First, build the executable
```
$ make
```
Then, run:
```
$ make run /path/to/image.bmp M N
```
I would recommend to choose M and N based on image resolution and also to direct the output like this:
```
$ make run /path/to/image.bmp M N > output.txt
```
## notices
Sorry for my bad C++. It's been a long time :laughing:## License
[MIT](https://github.com/jgcmarins/ascii-art/blob/master/LICENSE)