anowell / txtpic / 0.1.0

Turn in image into text art.


The following field is required:

- image: the data URI of an image file

The following fields are optional:

- width: An approximate width value for the result [default: 80]

- preset: A preset character set to use [default: small] [values: small, medium, large]

- invert: Invert the result to make it suitable for black text on a white background​ [default: false]


This algorithm is a wrapper around Jermy Dormitzer's txtpix library in Rust.