asciipic

command
v0.0.0-...-5681583 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2017 License: GPL-2.0 Imports: 10 Imported by: 0

README

ASCIIPIC

A Go port of the original version I did in scala, also on github. It is interesting to compare the code. This time, the Go version isn't really much more verbose than the scala one.

$ bin/asciipic 
Usage: asciipic fname width

$ bin/asciipic ~/Downloads/tennis-racket.jpg 40
                                        
                  .,**===:.             
               .:$@A%$$$%%%*            
             .=%AA%+:,..,:+@$.          
            :%#@+:..     . :$+          
          .+AA+, .,,,. . .  :%*         
         ,%A%: .,.,,,.. . .  =%         
        :%A=. .,. .:,,  . .. :@,        
       ,$A* .,,.  .:,, . . . ,@*        
      :=@:  ,,,,. .::,....   ,@=        
     ,+$,   .,:,...::,. . .  :@*        
     =%:    ,,,,...:::.      =@,        
    :%+  .  ,,,:...::. . .   $%.        
    +%,     .::,..,,.       :%+         
   .%$  . . .::::,..        =@:         
   ,@=  . . ,,::,          ,%%          
   ,@: . . ..,::.         .=@*          
   ,@: . . ..:,,,         =+%           
   .%* ..    ,,,.        =$%=           
    ++  . .  .,,.      .$@+%.           
    ,%: .   .., .     :%A$%$            
     =%:     .      ,+AA*:@=            
      +%=:.      .:$A#$. *A:            
       =%$+=*:**+%AA$:   =@,            
        .*+$$$+++$+.     +@.            
           .,**++++*.    =@.            
                .,=$+:   =%.            
                   ,=$*  =%.            
                     :$+=@A:            
                      ,%A@A%            
                       =@@@A,           
                       .%@@A$           
                        =@@@A,          
                        .%@@A$          
                         =@@@A,         
                         ,%@@@$         
                          +@@@A,        
                          ,@@%@$        
                           +@@@A,       
                           :@@@@$       
                            $@@@@:      
                            :%@@@@:     
                             $AA%A%     
                             %#%:%@.    
                             +#@=@$     
                             .@#@$.     
                               ,,       

Documentation

Overview

A utility to convert an image to ascii, at a given width (72 by default)

Jump to

Keyboard shortcuts

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