https://github.com/rattananen/funny-img
convert image to ascii
https://github.com/rattananen/funny-img
ascii-art bmp cpp deflate image-processing png
Last synced: about 1 month ago
JSON representation
convert image to ascii
- Host: GitHub
- URL: https://github.com/rattananen/funny-img
- Owner: rattananen
- License: mit
- Created: 2024-02-06T07:10:07.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-01-13T09:41:49.000Z (over 1 year ago)
- Last Synced: 2025-01-13T10:37:18.278Z (over 1 year ago)
- Topics: ascii-art, bmp, cpp, deflate, image-processing, png
- Language: C++
- Homepage:
- Size: 438 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Features
- Generate ascii art from some BMP and some PNG.
- Can modify ascii output.
- The code is cross platform (maybe).
## Usages
There are executable in folder `dist` if it's incompactible with running platform then you could compile for your platform see [developement](#developement) section.
### Basic:
```bash
funny_img test.bmp
```
### Output to file:
```bash
funny_img test.bmp 1> output.txt
```
### Modify ascii output:
```bash
funny_img test.bmp 123654987
```
📙 The output character will be calculate by luminance of color. The first character is highest luminance and the last one is lowest.
## Developement
### Requirement
- clang, gcc, MSVC, ...
- C++20
### Optional
- Cmake
- Ninja build
- IDE that could integrated with c++ compiler and cmake e.g. `vscode` (for Windows we recommend `Visual stdio 2022 any edition`).