goscii

command module
v0.0.0-...-dff81ac Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 9, 2021 License: MIT Imports: 8 Imported by: 0

README

GOSCII

A dead simple from image to ASCII art generator written in Go.

                                 @@@@@@@@%%###**+++++++****###%%@@@@@@@                             
                          @@@@%#*+=--:::::::::::::::::::::::::::::::-=+*#%@@@                       
                     @@@%*=-:::::::::::::::::::::::::::::::::::::::::::::::-=*%@@@  @@@@@@@@@@      
     @@@%%##%%@@@@@@#=-::::-===+=+==--:::::::::::::::::::::=+=====--=====+=:::::-*%%+-::::::-=*@@@  
  @@#+-::::::::=#*-:::-=+==-:..   ..:-==+=:::::::::::::-++=:.   :=+=-.   .:=+-:::::-*+-:::::::::=%@ 
 @#-:::::--::=*=::::=+=.     .=#%%#+:   .-++::::::::::++.     .#@@@@@@-     .=*-:::::-*@@@#-::::::#@
@+::::-%@@@@#=::::-*-        #@@@@@@@:     :*-::::::-#:       -@@@%@@@*       :#-::::::-#@@#::::::-@
@-::::*@@@@*-:::::#:         +@@#=%@%:      :#::::::#:         -#%=*%+.        =+::::::::+%-::::::=@
@*:::::=*@=::::::-*           :=+=+-.        *-:::::%                          :#:::::::::+*:::::+@@
 @%=::::#=:::::::-#                          #-:::::*-                         +=::::::::::*+-+#@@  
   @@%***:::::::::*=                        =+::::::-*-                      .++:::::::::::-%@@     
      @%:::::::::::++.                    :+=:::--==--=+-.                 :=+-:::::::::::::=@      
      @+::::::::::::-+=-.             .:=++::+%@@@@@@@%*=+==-:.      .:-==+=-::::::::::::::::%@     
     @@::::::::::::::::-====-------=====::-=#@@@@@@@@@@@#=-:-==========-:::::::::::::::::::::=@     
     @#:::::::::::::::::::::::::::::::::+*+--+*#%%%##*+=-=+*+-::::::::::::::::::::::::::::::::@@    
     @*::::::::::::::::::::::::::::::::=#-------------------=#-:::::::::::::::::::::::::::::::#@    
     @+::::::::::::::::::::::::::::::::-#=----==++*+++=-----=#-:::::::::::::::::::::::::::::::*@    
     @+:::::::::::::::::::::::::::::::::-++#+=-:.-%  .:**+++=:::::::::::::::::::::::::::::::::=@    
     @*::::::::::::::::::::::::::::::::::::#:    =*    -*:::::::::::::::::::::::::::::::::::::=@    
     @*::::::::::::::::::::::::::::::::::::=*.  .*#.   -*:::::::::::::::::::::::::::::::::::::-@    
     @%:::::::::::::::::::::::::::::::::::::-+==+--+==++-:::::::::::::::::::::::::::::::::::::-@    
 

Documentation

Obviously you will need Golang installed on your machine.

go get ./...
go run main.go [-i input] [-o output] [-d int] 
Flags

-i is to indicate the path to the input image (png or jpeg).

-o is to indicate the path to the future txt file containing the ASCII.

-d (optional) is to indicate the int by which the height and the width of the image will be divided (strictly positive, default is 1).

License

Provided under the MIT License.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL