Adding image | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

Adding image

hi all is there a way to add image's to your code or can it only be done via GUI'S.

19th Jan 2017, 12:10 PM
Shane Gibson
Shane Gibson - avatar
2 Answers
+ 2
In a console there really isn't a way to display an image. There are some methods that have been created that convert a picture to ascii art.
21st Jan 2017, 5:15 AM
Kevin Gilkey-Graham
Kevin Gilkey-Graham - avatar
+ 2
images are files so perhaps what you are wanting to do is have code that opens an image file in a relevant program or app
26th Jan 2017, 2:02 AM
Phil
Phil - avatar