Create ascii art from image
From UBot Studio
(Difference between revisions)
(Created page with "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. '...") |
(→Example) |
||
Line 18: | Line 18: | ||
Running the script will produce ascii art of the given input image using the character width specif | Running the script will produce ascii art of the given input image using the character width specif | ||
− | + | <pre> | |
.................................................................................................... | .................................................................................................... | ||
.................................................................................................... | .................................................................................................... | ||
Line 57: | Line 57: | ||
.................................................................................................... | .................................................................................................... | ||
.................................................................................................... | .................................................................................................... | ||
+ | </pre> |
Revision as of 16:51, 2 July 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
createAsciiArtFromImage("C:\\Users\\Downloads\\trasCapture.jpg","C:\\Users\\Downloads\\ascii1.txt",500)
Running the script will produce ascii art of the given input image using the character width specif
.................................................................................................... .................................................................................................... .................................................................................................... .................................................................................................... .................................................................................................... .................................................................................................... .................................................................................................... .................................................................................................... .................................................................................................... .................................................................................................... .................................................................,lOXNNk............................ ..............................................................;dKMMMMMMK............................ ...........................................................;kXMMMXkKMMMK............................ ...........................................................0MW0d;..OMMMK............................ ...........................................................:c'.....OMMMK............................ ...................................................................OMMMK............................ ...................................................................OMMMK............................ ...................................................................OMMMK............................ ...................................................................OMMMK............................ ...................................................................OMMMK............................ ...................................................................OMMMK............................ ...................................................................OMMMK............................ ...................................................................OMMMK............................ ...................................................................OMMMK............................ ............................................................'''''''OMMMK''''''...................... ...........................................................dMMMMMMMMMMMMMMMMMM0..................... ...........................................................cOOOOOOOOOOOOOOOOOOd..................... .................................................................................................... .................................................................................................... .................................................................................................... .................................................................................................... .................................................................................................... .................................................................................................... .................................................................................................... .................................................................................................... .................................................................................................... .................................................................................................... ....................................................................................................