image to ascii art

Allows you to convert an image to ASCII art.


Example

Running this code will set 2 variables named “inPut” and “outPath” with the images named “Color Print Test Image 28.jpg” and “Image Color Filter.jpg”, respectively.

Then, “inPut” will be set as input image path while the “outPath” will be set as output image path.

The image "Color Print Test Image 28.jpg" will be converted to ASCII art format.

This will be shown in the UBot browser.

set(#outPath,"{$special folder("Application")}\\AsciiArt.txt","Global")
plugin command("Image Automation.dll", "image to ascii art", "{$special folder("Application")}\\Color Print Test Image 28.jpg", #outPath, 200)
navigate("file:///{$replace(#outPath,"\\","/")}","Wait")

Was this helpful?

Previous Article

image tint

Next Article

image to gif