Skip to content
Artisanal ascii images
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
Pipfile
Pipfile.lock
README.md
asciifier.py
calibrate.py
courier-calibration.png
courier-charmap.json
courier-scaled-charmap.json
initial-experiments.ipynb
layerifier.py
pagifier.py

README.md

asciifier

Artisanal ascii images

Scripts

There are currently three Python scripts involved here, each with commandline interfaces.

  • asciifier.py does most of the work by taking an input image, resizing it, and converting it to text.
  • pagifier.py splits text into multiple columns, which I used for making pictures span across multiple pages.
  • layerifier.py is used for doing multiple passes of printing on a line-by-line basis. My printer treats \r and \n differently, splitting the literal "carriage return" and "line feed" into separate steps, so you can print over the same line multiple times. This script takes multiple files in and splices their lines together. I've used this to get darker results from faded ink cartridges.
You can’t perform that action at this time.