Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

asciiart: add page #4962

Merged
merged 3 commits into from
Nov 21, 2020
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions pages/linux/asciiart.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# asciiart

> Convert images to ASCII.
> More information: <https://github.com/nodanaonlyzuul/asciiart>.

- Read image from a file and print in ASCII:
navarroaxel marked this conversation as resolved.
Show resolved Hide resolved

`asciiart {{path/to/image.jpg}}`

- Read image from a URL and print in ASCII:
navarroaxel marked this conversation as resolved.
Show resolved Hide resolved

`asciiart {{www.example.com/image.jpg}}`

- Choose output width (default is 100):
navarroaxel marked this conversation as resolved.
Show resolved Hide resolved

`asciiart -width {{50}} {{path/to/image.jpg}}`

- Colorize the ASCII output:

`asciiart --color {{path/to/image.jpg}}`

- Choose output format (default format is text):
navarroaxel marked this conversation as resolved.
Show resolved Hide resolved

`asciiart --format {{text|html} {{path/to/image.jpg}}`
navarroaxel marked this conversation as resolved.
Show resolved Hide resolved

- Invert the character map:

`asciiart --invert-chars {{path/to/image.jpg}}`