Search code examples
javaimagejava-console

Is it possible to show an image in Java console?


I want to make a Java application that shows an image in the console, but I cannot find anything on the topic. How would I do this?


Solution

  • Actually... It sort of is.

    You can ouptut shell directives which determine the os to change color of succeeding text. You can also manipulate backgrounds.

    It is quite limited though.

    Nevertheless one could print a bunch of "pixel" characters and change their color.

    Example How to print color in console using System.out.println?

    also....this will jot work in an IDE's console.