This program converts an input RGB image and prints a grayscale image made using ASCII characters.The size of the output image depends on the size and resolution of the input image.To view the output image properly, alter the font size of the text.In most cases, a small font size produce better results.
The program converts the image into a grayscale image.It is then divided into small cell.The intensity of the cell is then calculated and an ASCII character which produce a similar intensity is printed in its place.This process is continued throughout the image and the complete text is saved to the output text file.
Enter the location on the image file as the value of the variable inputImageFileName.You can either provide a location of an existing text file to the variable OutputTextFileName or let the compiler create a new text file named Output.txt.Then run the program