Create ascii art from image
From UBot Studio
(Difference between revisions)
m (LillyT moved page CreateAsciiArtFromImage to Create ascii art from image) |
Latest revision as of 18:04, 13 November 2017
This command will return text ascii art based on a given image.
The command is an Image command.
Input Image File: the image the ascii art will be created from.
Output Image File: The resulting .txt ascii image (.txt)
Character Width: The number of characters used to create the ascii image. The higher the number, the larger the image.
[edit] Example
create ascii art from image("C:\\Users\\Downloads\\trasCapture.jpg","C:\\Users\\Downloads\\ascii1.txt",100)
Running the script will produce ascii art of the given input image using the character width specified.
.................................................................................................... .................................................................................................... .................................................................................................... .................................................................................................... .................................................................................................... .................................................................................................... .................................................................................................... .................................................................................................... .................................................................................................... .................................................................................................... .................................................................,lOXNNk............................ ..............................................................;dKMMMMMMK............................ ...........................................................;kXMMMXkKMMMK............................ ...........................................................0MW0d;..OMMMK............................ ...........................................................:c'.....OMMMK............................ ...................................................................OMMMK............................ ...................................................................OMMMK............................ ...................................................................OMMMK............................ ...................................................................OMMMK............................ ...................................................................OMMMK............................ ...................................................................OMMMK............................ ...................................................................OMMMK............................ ...................................................................OMMMK............................ ...................................................................OMMMK............................ ............................................................'''''''OMMMK''''''...................... ...........................................................dMMMMMMMMMMMMMMMMMM0..................... ...........................................................cOOOOOOOOOOOOOOOOOOd..................... .................................................................................................... .................................................................................................... .................................................................................................... .................................................................................................... .................................................................................................... .................................................................................................... .................................................................................................... .................................................................................................... .................................................................................................... .................................................................................................... ....................................................................................................