However, I wonder what could be a good practical use of an ASCII-converted image. If you like experimenting in the terminal, you may like this tool. Would you like more ASCII stuff in the Linux terminal? How about playing ASCII games on Linux? Yes, you can totally do that. You can read about it on the project’s repository. There are a few more options available such as giving the output a specific dimension, use more ASCII characters, or use your own set of characters for printing the ASCII art. The developer, Zoraiz Hassan, released a new version and now the tool saves the generated ASCII image in PNG format by default. In the older version, it would be saved only as a text file, not as an image. There is also an option to save the generated ASCII art. It will print the ASCII version one after another on the terminal display. You may convert multiple images into ASCII by providing their paths. To install ascii-image-converter, simply use the following command: Other popular snaps. On Debian 9 (Stretch) and newer, snap can be installed directly from the command line: Install ascii-image-converter. You may also have a colored ASCII conversion. Snaps are discoverable and installable from the, an app store with an audience of millions. I have put my original photo for the reference. For the P mode, this method translates pixels through the palette. nvert() Returns a converted copy of this image. The module also provides a number of factory functions, including functions to load images from files, and to create new images. Here is my profile picture converted into ASCII. The Image module provides a class with the same name which is used to represent a PIL image. You may also provide the URL of the image to convert an image into ASCII directly from the web. Isn’t that look cool Here we are going to learn how to convert an image into ASCII art. Once installed, you just have to provide the path of the image you want to convert. Have you seen awesome image consist of only ASCII characters. If you wonder why so, please learn about Linux directory hierarchy. This way, you’ll be able to run it like a regular Linux command. You may also download the Linux executable file from its release page and put the executable in the /usr/local/bin/ directory. If you have Snap enabled in your distribution, you can easily install its snap package using the following command: sudo snap install ascii-image-converter This nifty tool is also available on Windows but I am not going that way. Installing Ascii Image Converter on Linux The tool supports input images in the following format: You probably won’t recognize me, but that’s me in ASCII in the image below. It is a command line based tool written in Go and it prints the ASCII version of the image supplied to it. Ascii Image ConverterĪs the name suggests, Ascii Image Converter is a tool that converts an image into ASCII art. That’s cool, right? How about converting a normal picture into ASCII art? That’s what you are going to explore in this article. You might have seen people displaying their distribution’s logo in ASCII format like this: Basically, it is composed of a bunch of letters, numbers and special characters. The ASCII art is a graphics composed of the printable ASCII characters. You know what’s ASCII? It’s a standard that assigns letters, numbers and other characters in the 256 slots available in the 8-bit code. Want to do some fun stuff in the Linux terminal? How about converting a regular image into an ASCII art?
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |