1994.03.02 00:00 "x to tiff", by Doug Moore

I need code to take screen images from a programmer-selected X window and dump it in TIFF format into a file. If there is a program that does this in a direct way, the code for that program would be very useful. I wish to incorporate such code into a program of mine.

I have scanned the libtiff documentation as best I can, and the archived messages sent to this list, and I haven't found the answer.

Warning - I know nothing much about TIFF. I know enough X to get by. I am expert in C. Just so you know what you can take for granted in an answer.

If you can help, I'd be grateful.

Doug Moore