Image to ASCII

Here's a fun transformation. Take any image file and turn it into an HTML file of ASCII Art by simply passing Filestack's transformation engine the url or Filestack handle for the image!

Image to Ascii

Image to ASCII Task URL Format:
https://process.filestackapi.com/ascii=[options]/Filestack_FileLink_Handle
or
https://process.filestackapi.com/<API_KEY>/ascii=[options]/File_URL

ascii
String

The root task cannot be abbreviated

Users can use ascii without any options and the default settings will be used.
ascii=background:white or FFFFFFFF
String

Can be abbreviated as b:black

Specifies background color of the HTML file. This can be the word for a color, or the hex color code. The default value is white. Click here for a list of accepted color names.
ascii=foreground:red or #FF0000
String

Can be abbreviated as f:black

Specifies the font color of ASCII images. Only works in non-colored mode. This can be the word for a color, or the hex color code. The default value is white. Click here for a list of accepted color names.
ascii=colored:Boolean
Boolean

Can be abbreviated as c:true

Reproduces the colors in the original image if set to true. Works best with a dark background.
ascii=size:10 to 100
Integer

Can be abbreviated as s:100

Specifies the size of the returned file as a percentage of the original.

The parameter must be an integer bewteen 10 and 100. The default is 100.
ascii=reverse:true
Boolean

Can be abbreviated as r:true

Reverses the character set used to generate the ASCII output. Works well with dark backgrounds. Requires color:true

Original image

original photo to be turned into ascii art

Converting the image to Ascii:

photo transformed with Filestack's image to ascii filter

Using the urlscreenshot transformation to convert the ascii art to an image for demonstration purposes


Using the ascii parameters background:black,colored:true,reverse:true to produce a colored ASCII image with black background:

photo transformed with Filestack's image to ascii filter with background, colored and reverse parameters.

Reducing the size of the image by 50% of the original size by using size:50:

photo transformed with Filestack's image to ascii filter with all parameters and resized