Is there a command-line program (for Linux) that can convert an image to ascii art and then save that output as an image e.g. jpg or png?
To illustrate what I'm in need of, I want to convert the image below into ascii art
The output that I desire from a program should be similar to this one, which was created by taking a screenshot of the output of an image-to-ascii converter (the output was pure text)
I'm aware that GIMP has the ability to save an image as ascii art and aview can also convert an image to ascii. However, the former cannot be done via the command line and the latter only lets you view the output, not save it (I don't want to resort to taking a screenshot of the output).
I'm also aware that libcaca can save its output to an image, but it only outputs colourful ascii, like below.
Made by converting the source image to greyscale and then with the following command:
img2txt -W 70 -f tga input.jpg > output.tga
The reason for wanting a command-line program is to batch process a folder full of images.