/ascii-img-rs

Rust pxiel to AASCII converter.

Primary LanguageRust

ascii-img-rs

Rust pxiel to AASCII converter.

Loads an image passed via argument, resizes it to fit in an 80 column by 24 line terminal and display the conversion and saves it to a file.

Developed as an exercise in IO, data structures image manipulation.

Sample Conversion

           .............
         .. ............
        .  .. ..........
       . .==-. .........
        -##*+=. ........
      .-####*+-  .......
      .+####*+=  .......
     . =#####+-  .......
     . =*+++=..  .......
      .++--*.--  .......
      .+*=+#-=-  .......
      .+****-.+. .......
      .-**++- -  ...---.
     . .=++-     .------
        .-..     .------
         ....    -------
         .....  .-------
          .      .------
         .        .-----
         -.         .---
         .=
          .=.
           ..

The vague shape of a face on a dark background