Skip to content

tsepton/goscii

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A dead simple ASCII art generator.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages