Skip to content

Latest commit

 

History

History
64 lines (58 loc) · 1.54 KB

README.md

File metadata and controls

64 lines (58 loc) · 1.54 KB

ASCII Art

Command-line Options

The program supports the following command-line options:

Image Loading Options

  • Specify the input image file in JPG or PNG format:
--image <filename>
  • Load a random image:
--image-random 

Image Filtering Options

  • Apply the invert filter to the image:
--invert

Adjust the brightness of the image. Provide an integer value:

--brightness <value>

Flip Filters

  • Flip the image horizontally:
--flip x
  • Flip the image vertically:
--flip y
  • You can combine two arguments:
--flip x y

Output Options

  • Save the processed image to the specified file:
--output-file <filename>
  • Display the processed image on the console:
--output-console

ASCII Table Options

  • Specify the ASCII table configuration. Available options: (provide the table name or custom configuration):
--table <tablename>

Predefined tables:

    "bourke-small" -> "@%#*+=-:,. "
    "bourke-large" -> "$@B%8&WM#*oahkbdpqwmZO0QLCJUYXzcvunxrjft/\\|()1{}[]?-_+~<>i!lI;:,\"^`'. ",```
        "non-linear-large" -> "@@@@@@@@@@@@@@@@@@@@@$%^&*+++++++++++++^^^^^^^^^^^!!!!!!!!..............                   "
    "non-linear-medium" -> "@@%++**----:;~,  "
    "non-linear-small" -> "@@%++**--  "
    "non-linear-xlarge" -> "@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@%++**----:;~,~~~~~~~~~~~~~..............................                               "
    "default  -> "@%#*+=-:,.       "