Skip to content

Latest commit

 

History

History
65 lines (51 loc) · 2.74 KB

README.md

File metadata and controls

65 lines (51 loc) · 2.74 KB

symbolize!

This crate allows you to convert bitmap images into l33t text art! Also available as binary.

Preview

Preview

Usage as a crate

All needed information is available on docs.rs

Usage as binary

> cargo install symbolize

> symbolize --help
symbolize! 0.2.0
rzru <[email protected]>
converts bitmap images into text art

USAGE:
    symbolize [OPTIONS] --palette <PALETTE> <PATH>

ARGS:
    <PATH>    Path to the original picture

OPTIONS:
    -c, --colorize             Flag that shows should output be colorized for a terminal or not. Not
                               recommended to use it with anything but terminals with rgb support
    -f, --filter <FILTER>      Filter type. One of: nearest, triangle, catmull_rom, gaussian,
                               lanczos3. More about differences:
                               https://docs.rs/image/latest/image/imageops/enum.FilterType.html
                               [default: nearest]
    -h, --help                 Print help information
    -p, --palette <PALETTE>    Defines symbols that will be used to fill the picture (in priority
                               order)
        --scale <SCALE>        Defines scale of symbolized picture relatively to the original
                               [default: 1]
    -V, --version              Print version information
    
> symbolize rustacean-flat-happy.png --palette=" @#$" --scale=0.05 

                               @@  @@@@  @@                              
                           @@  @@@@@@@@@@@@@@@@@@                        
                     @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@                    
                     @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@            @@      
   @@  @@          @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@      @@@@      
   @@  @@@@        @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@      @@@@  @@@@
 @@@@  @@@@    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@  @@@@@@@@  
   @@@@@@@@    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@    @@@@@@@@  
     @@@@@@  @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@    
       @@@@  @@@@@@@@@@@@@@@@@@&&    @@@@&&&&  @@@@@@@@@@@@@@  @@        
         @@@@@@@@@@@@@@@@@@@@@@&&    @@@@      @@@@@@@@@@@@@@@@@@        
           @@@@@@@@@@@@@@@@@@@@      @@@@      @@@@@@@@@@@@@@@@@@        
         @@@@@@##@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@####@@@@@@      
           @@@@##  ####@@@@@@@@@@@@@@    @@@@@@@@@@####    ##@@@@        
             @@  ##        ######################        ##  @@          
               @@                                            @@          
                                                           @@  

License

MIT