Image to ASCII

I know there are other programs that do the same thing but i kinda wanted to make my own.

How to Run -

$ git clone https://github.com/simplycode07/image-to-ascii.git
$ cd ./image-to-ascii

For Linux:

$ gcc main.c -o main.out && ./main.out

For Windows:

$ gcc main.c -o main.exe && ./main.exe 

To convert image-

  1. Firstly Convert your png or jpeg file to PPM file
  2. Change name of file, in line of the program
  3. Compile and Run edited file

Output of example file

output.jpeg file