Skip to content

Latest commit

 

History

History
20 lines (12 loc) · 568 Bytes

File metadata and controls

20 lines (12 loc) · 568 Bytes

Ascii-Generator

Generates ascii version of an image. For image handling using libraries: https://github.com/nothings/stb

The only thing left to do is to put the image in the same location as main.cpp file, and you are ready to compile :D

Functions included:

  • reduce() - reduces image to a given size. There are 3 ways to use this function:

    • 2 pixels values

    • 2 ratio values

    • mixed

  • print_ascii() - There are 2 ways to use it:

    • print_ascii() - prints the output to the console

    • print_ascii(*.txt) - prints the output to the text file