One will generate an image file. I cheated in two ways there ... A simple program changes a text-processing language like awk into a binary file manipulation language. Great.