The module "Pillow" (available on PyPi) is required dumpfont.py: Usage: python dumpfont.py is the name of the TrueType font to generate a bitmap from. For example: arial.ttf, times.ttf, etc. is the size of the font bitmap. For example: 10, 14, 24, etc. is the name of the output file By default, antialiasing will be off and the characters that are generated are ascii digits, lowercase and uppercase letters, and punctuation. The output file will be in a packed binary format with the data for each character in this form: Each byte in is the value of a single greyscale pixel (0-255). consists of packed rows of these pixels, each long. rendertext.py: Usage: python rendertext.py Arguments are the same as dumpfont.py Output file will just be Which will represent data for a single bitmap containing all of the text that was rendered.