Question

I want to take each pixel and to print it to the console so that i can see the picture in black and white in the console screen.

Is that even possible?

i tried to load it with the system.IO File , but it wont work.

any suggestions?

thanks.

Was it helpful?

Solution

No, it is not possible. The windows command prompt is strictly text based(essentially all command prompts/terminals are this way). So, you cannot display GRAPHICAL content in a TEXT focused interface.

The only conceivable way(as far as I can tell) is what @EricFinn inquired about. Possibly converting the image to ASCII-art and printing each line to the command line. You may be able to modify THIS EXAMPLE if you want to move in the ASCII direction.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top