/ASCII-Art

Convert any image into ASCII art

Primary LanguagePHPMIT LicenseMIT

ASCII-Art

Convert any image into ascii art.

Execution

The format of the command is as follows -

php main.php path_to_image scale output_file_path

Scale should be given as -1 if no scaling is required, although for large images it is recommended to provide a scaling factor of 256 or less.

Both files convert-ascii.php and main.php should be present in the same directory.

Prerequisities

PHP 5.3+ should be installed on your local machine.

Built With

  • PHP

License

This project is licensed under the MIT License - see the LICENSE.md file for details

##Examples You can check the sample images in images folder and their corresponding ascii art in output folder. Recommended text editor to open these files is Notepad++. Keep the font size at a minimum.

#Screenshots input1

output1

input2

output2

input3

output3

input4 output4