See the MacOS Homebrew section for more information. On other distributions use the binary file provided in the release tab.Īlternatively, if brew is installed, you can also use brew to install it. You can install it with your favorite aur-helper, for example with yay: yay -S artemĪlternatively, it is also available as a precompiled binary ( artem-bin): yay -S artem-bin Other Distributions Archlinux-based DistributionsĪrtem is available as an AUR package. deb package also contains tab completions (for bash, zsh and fish) and a man page. deb file from the release page and install it with: sudo dpkg -i b Ubuntu)įor Debian-based Distributions, like Ubuntu, download the. If cargo is not installed, visit the cargo book for installation instructions. It will automatically add artem to your PATH variable, so it can used like shown in the usage section. The easiest way to install artem is using cargo with cargo install artem " Installation All platforms (recommended) artem PATH -outline -hysteresis -characters "|/\_. artem PATH -outlineįor an even better result, it might be worthwhile trying out the -hysteresis/ -hys flag, potentially with characters better suited for outlines, for example. For the best result, please use an image with a clear distinction between the background and the foreground. Please be aware, that this will take some additional time, as well as that it might not perfectly work on every image. Using the -outline flag, the given input image will be filtered, to only contain an outline, which will then be converted. artem PATH -output ascii.txt # if the output file is an html file, the resulting ascii art will be saved as html ascii art, which supports colors To save the the image to a file, use the -output flag. It is also possible to center the image using: # center the image horizontally To change the size at which the converted image is displayed, use: # for auto sizing height artem PATH -characters "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789|.-#+!$%&/()=?*'_: " Alternatively this program has already 3 predefined character sets,Īccessibly by supplying the -characters argument to gether with the number ( 0, 1 or 2) of the preset that should be used.īy default preset 1 is used. If the background should be invisible, add a space at the end. To use custom ascii chars, use the -characters (or -c for short) argument.The characters should be ordered from darkest/densest to lightest. NOTE: To use URLs, the web_image feature has to be enabled. The input can either be one or multiple file paths or URLs. Examples Inputįor simply converting an image: artem path If you have any issue or have an idea for a new feature, please create an issue. Although there is currently no active development of new features, issue and new feature request will still be worked on. Maintenance Is this project still being maintained? If you want to use this project as a library, please refer to the docs. When the ascii image is written to a file, the image will not use colors. By default it tries to use truecolor, if the terminal does not support truecolor, it falls back to 16 Color ANSI. To ascii art, named after the latin word for art. # 54 in Command line utilities Download history 83/week 91/week 70/week 68/week 107/week 162/week 117/week 78/week 90/week 87/week 58/week 88/week 57/week 69/week 92/week 57/week Īrtem is a small cli program, written in rust, to easily convert images
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |