Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jealrock/asciify
Command line utility to help make ASCII art from your images
https://github.com/jealrock/asciify
ascii ascii-art command-line command-line-tool haskell
Last synced: 27 days ago
JSON representation
Command line utility to help make ASCII art from your images
- Host: GitHub
- URL: https://github.com/jealrock/asciify
- Owner: Jealrock
- License: other
- Created: 2024-06-01T20:02:18.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-07-14T19:33:43.000Z (4 months ago)
- Last Synced: 2024-10-12T23:43:00.886Z (27 days ago)
- Topics: ascii, ascii-art, command-line, command-line-tool, haskell
- Language: Haskell
- Homepage:
- Size: 169 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
```
###### ########## ######### ### ### ######## ### ###
####### ########## ######### ### ### ######## ### ###
### ### ##### ### ### ### ### ### ###
#### ### ##### ### ### ### ######## ########
########## ######### ######### ### ### ### ####
### ### ######### ######### ### ### ### ####
```This is a command line utility to help transform images into ASCII art. It was intended to transform line art, memes or math diagrams. Outputs do require manual edit to shine, however they provide a nice starting point to work from.
Examples of generated output and final results are shown at the end of the README.```
asciify [OPTIONS] FILECommon flags:
-u --uarg Unclutter output
-l --lines=20 Desired number of lines in the ouput
-t --targ=0.5 0.0-1.0 less/more details
-? --help Display help message
-V --version Print version information
```## Installation
Requirements: ghc, cabal
```
cabal build
```## Examples
cabal run . -- [assets/pepe.jpg](assets/pepe.jpg) -t 0.2 -u
```
______ ___ ________ ____
/ \/- \-_ / ____\/ \_
/ ___---\_ ___ \| / _/ \_---___\__
/ --- - \\ | / \__ \_
__________-| __ \ | ___________ \ _____ \
/_ \_/ \_\-| _#####_| | /___________\|/______\|
- \____###- --_/##__/\#| | \__ ##.# | | #.# \
\ #_# |_/\###_\/_| | \####___| |_###___/
--\_/ -\_/|___- __\ manual edit | ------\ |___ \
|#_ _/- \ \_ ----------------> | __ __/ \ |
|--#_\___-- _#| | |__\___ _|
\-_\/\_\--_/__------_-# | \____ \______________/
- \__ - - ------/ / | \_________________|
-\-_________--| | \___________/
/ \-_ | __/ \____
|--/-\____/ \\ | | |__/ / \
\--__ _ \ | \ \__/ / \
\ |\__ / / _\ | \ \/__/__/ \
```cabal run . -- [assets/cube.png](assets/cube.png) -u
```
_________________ __________________
__-/ _ # _/| _/|
_/ | __-/ # _/ | _/ |
|-\___ \____------ # manual edit #/----------------#/ |
| | | #| -------------> | | | |
| | | | | | | |
| | | | | | | |
| |_ | | | | | |
| _ _ __ _|\ ___/| | #___________|_____#
| /_ -- - |/ _- | _/ | _/
| |/- |_ _- | _/ | _/
|__|______________#- #'________________#/
```cabal run . -- [assets/wojak.jpg](assets/wojak.jpg) -t 0.2 -u
```
__--- \_ ____-----___
/_- \\ / \_
/ -_ / \
_ ---_----\|_ / ---'----\ \
/ __/__ \____ | / __/---\____ |
| - _ | \ _ | ' ' |
_ |\##| _/_ \ manual edit | |###. .###||
\ / | \ --------------> \ | |
\| - / \ _ \| / \ |
| |_ \|-|- _| | |_ '=-=' |
| | \_ |-____ / | | \_ -----. /
_ \\ / / / | \________/
/ | _/ _- \____ ___/ \____
_-- -\ / - - \ / -
```