I need a way to easily write a compressed TIFF file from a String in python. I already look at the Python Imaging Library PIL But I need to write a very specific TIFF format and PIL only supports uncompressed at the moment. I need to write a LZW compressed, striped TIFF with just one simple line of text in it. I would rather not have to write something from scratch, but if I do I do.

I ended up just using the .NET code I had that did this and exported it to a command line exe, then called that instead of tiffCP, basically the same thing but I already had all the settings set in my .NET tool, so I didn't have to worry about any of that from python, just pass it a string.
–
keepitreall89Mar 18 '11 at 20:13