-1

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?

2 Answers2

1

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.

EverNight
  • 964
  • 7
  • 16
0

You can show an image in Java console and this is ASCII art.
Of course, this is not a real image as *.png or *.jpeg or whatever but it's still technically an image. With colored fonts and backgrounds, you can create pretty good art. There is a very nice library on GitHub that could be found - JColor.
You can also look for the ASCII image converter library on Java (or ASCII image generator), the result is quite amazing.

Ghost Rider
  • 205
  • 1
  • 4
  • 13