Skip to content

hrkcz001/scala-asciiart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BI-OOP: ASCII Art

author: hrkcz001

supported arguments are:

  • --image (only one image can be specified, jpeg and png are supported)
  • --generated-image (can be specified instead of --image)
  • --output-file (any number of unique output files can be specified)
  • --output-console (can be specified only once)
  • --rotate (will rotate image / 90 times, though any angle is supported)
  • --scale (any float or integer, e.g. 0.0625 is image 16 times smaller)
  • --invert (inverts the image)
  • --table (name of the table to use, "default", "extended" and "nonlinear" are supported, only one table can be specified)
  • --custom-table (custom table to use, string starting with character representing black color, will be linear if possible, e.g. "#Xx. ")

    several filters can be applied in one run, e.g. --rotate 90 --rotate 90 --rotate 90 --rotate 90 will rotate the image 360 degrees or --scale 0.5 --scale 0.5 will scale the image 4 times smaller

    scale filters will be skipped if you try to generate 0 times smaller image

    filters are optional if no conversion table is specified, default table will be used at least one output method and one image must be specified

    bird.jpg and bear.png are provided as example images

    example cli input: --image bird.jpg --output-file result.txt --output-console --scale 0.0625 --table extended

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages