jimgardener wrote:
i am looking for python code to convert a textfile(.txt) to an
image(preferrably Tiff).I believe it involves some scanning and
conversion using some font table and probably compression using
huffman encoding..is there an open source code doing this?can someone
give a pointer?
jim
You can use PIL to do this. I have a small class that I wrote that does this
using PIL. Supports background TIF image (e.g. form). I used it to generate
TIFF images of a client's Invoices for them. If you are interested, drop me an
email and I'll forward it to you. It does also depend on netpbm because PIL
doesn't support outputting of compressed TIFF images.
-Larry