11-09-2022, 07:03 PM
(11-09-2022, 05:20 PM)madscijr Wrote: Hey, that gives me an idea - you've seen programs that concert pictures or videos to ASCII right? How about a QB64 program that has all the ASCII and UNICODE characters mapped out in raster or vector format, and accepts a raster or vector picture as input, and matches characters to different parts of the picture, and figures out one or more approximations in text? An automatic emoticon creator!It was sort of already done, but it works only with Linux distro logos, such as the Slackware one with the "Courier" lowercase "s" inside a button.
To anyone looking for a project to dive into, have at it!
https://github.com/KittyKatt/screenFetch
This was by me.
Usually it's used to show off, but it provides some system information. There are variations of it like "neofetch".
There is also a library that exists that does the sort of text-for-graphics thing that you described. In addition, GIMP could export to ASCII text file and to C source code table but I never tested it. Finally there is this ancient "PPM" format that I'm only telling the lurkers here about... user don't try it unless he/she has programs that depend on it. The example provided in the Wikipedia page of the link below, looks like "DATA" map directly into colors for "PSET" but it could become more involved than that.
https://en.wikipedia.org/wiki/Netpbm
Finally I'm going to leave everyone here with this other teaser:
http://www.figlet.org/