Create ascii art from image
From UBot Studio
(Difference between revisions)
(→Example) |
|||
Line 12: | Line 12: | ||
<pre> | <pre> | ||
− | + | create ascii art from image("C:\\Users\\Downloads\\trasCapture.jpg","C:\\Users\\Downloads\\ascii1.txt",100) | |
</pre> | </pre> |
Revision as of 18:00, 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.
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..................... .................................................................................................... .................................................................................................... .................................................................................................... .................................................................................................... .................................................................................................... .................................................................................................... .................................................................................................... .................................................................................................... .................................................................................................... .................................................................................................... ....................................................................................................