artem(1)

πŸ’– NAME πŸ’–

okay so bestie, artem β€” it converts images from basically every format you've got (jpg, png, webp, etc…) into glorious ASCII art ✨ like, your pic but made of characters. iconic behavior honestly.

πŸŽ€ SYNOPSIS πŸŽ€

artem [-c|--characters] [-s|--size] [--height] [-w|--width] [--ratio]
[--flipX] [--flipY] [--centerX] [--centerY] [-o|--output] [--invert]
[--background] [--border] [--no-color] [--outline] [--hysteresis]
[--verbose] [-h|--help] [-V|--version] <INPUT>

πŸ¦‹ DESCRIPTION πŸ¦‹

no cap, that's the whole thing: it takes images from multiple formats (jpg, png, webp, etc…) and turns them into ASCII art. she's a one-trick pony and the trick absolutely ate πŸ’…

🌸 OPTIONS 🌸

  • -c, --characters β€” swaps out which characters get used to draw the image. the first character should be your darkest/densest one and the last should be the lightest (they recommend making it a space ' '). for smaller images, a lower detail map is the move. you can also drop in the included character sets with the argument 0 | 1 | 2. if you pass no characters at all, the default set gets used 🫢
  • -s, --size [default: 80] β€” sets the size of the output image. minimum size is 20, so anything lower gets straight-up ignored and bumped to 20 (rude but fair). heads up: this one conflicts with --width and --height.
  • --height β€” uses your terminal's max height to display the image. conflicts with --size and --width.
  • -w, --width β€” uses your terminal's max width to display the image. conflicts with --size and --height.
  • --ratio [default: 0.42] β€” changes the ratio between height and width, because ASCII characters are a lil taller than they are wide. value has to be between 0.1 and 1.0. ngl they do not recommend messing with this one.
  • --flipX β€” flips the image along the X-axis / horizontally πŸͺž
  • --flipY β€” flips the image along the Y-axis / vertically πŸ™ƒ
  • --centerX β€” centers the image along the X-axis / horizontally in the terminal.
  • --centerY β€” centers the image along the Y-axis / vertically in the terminal.
  • -o, --output β€” output file for non-colored ascii. if the output file is a plaintext file, no color gets used. to actually get color, either use a file with an .ansi extension, or an .svg/.html file so the output converts to that respective format. .ansi files will consider environment variables when making colored output β€” for example, when COLORTERM isn't set to truecolor, the resulting file falls back to 8-bit colors. iykyk 🌈
  • --invert β€” inverts the characters used for the image, so light characters become dark ones. super useful if your image has a dark background πŸ–€
  • --background β€” sets the background of the ascii to the color. this gets ignored if your terminal doesn't support truecolor, so don't come crying 😭. mutually exclusive with the no-color argument.
  • --border β€” adds a decorative border surrounding the ascii image 🎁. this makes the image overall a bit smaller, since it respects the size you gave it.
  • --no-color β€” do not use color when printing the image to the terminal.
  • --outline β€” only creates an outline of the image. it uses filters, so it'll take more resources/time to finish, especially on larger images πŸ’€. it might not produce the output you wanted, so they advise using this only on images with a clear distinction between foreground and background.
  • --hysteresis β€” when creating the outline, use the hysteresis method, which removes imperfections but might not look as good in ascii form. this requires the --outline argument to be present as well.
  • --verbose [default: warn] β€” picks the verbosity of the logging level. warnings and errors are always shown by default. to completely disable them, use the off argument.

possible values:

  • off: do not show logs
  • error: only show errors
  • warn: show errors and warnings
  • info: show info logs
  • debug: show debug logs
  • trace: show trace logs
  • -h, --help β€” print help (see a summary with '-h') πŸ‘‘
  • -V, --version β€” print version
  • <INPUT> β€” paths or URLs to the target image. if the input is a URL, the image gets downloaded and then converted. and no, the original image is NOT altered, we're respectful here πŸ’œ

⭐ VERSION ⭐

v3.0.0 β€” she's in her 3.0.0 era.

🧚 AUTHORS 🧚

@FineFindus β€” the mastermind, the main character, the whole vibe 🫑


so yeah, that's artem from the General Commands Manual (that's artem(1) to the nerds), running version artem 3.0.0. go make some ascii art bestie, slay πŸ’…βœ¨πŸŽ€