1
0
Fork
You've already forked tim
0
A smol C program to generate text (braille, ASCII, block) art from images.
  • C 94.6%
  • Makefile 5.4%
2024年08月14日 23:10:08 +05:30
.gitignore Port to stb_image_resize2.h 2024年08月14日 23:08:10 +05:30
LICENSE Initial commit 2024年08月14日 17:24:38 +00:00
main.c Port to stb_image_resize2.h 2024年08月14日 23:08:10 +05:30
Makefile Add project source files 2024年08月14日 23:00:28 +05:30
README.md Add instructions for building and using the program 2024年08月14日 23:10:08 +05:30

tim

A smol C program to generate text (braille, ASCII, block) art from images.

Instructions

Create a lib directory and copy stb_image.h and stb_image_resize2.h from https://github.com/nothings/stb into it.

$ make
$ ./tim /path/to/image

To-Do

  • Add dynamic threshold calculation
  • Add dynamic resized size calculation using winsize or take as argument using tput
  • Take a threshold multiplier as an argument
  • Take scale as an argument to override the default
  • Use a custom scaling algorithm implementation

References

Test Cases