2000.03.23 01:32 "Re: how can i write G4 compressed stream (from scanner) to single page tiff file with libtiff ?", by Michael Still
I am not sure what you are asking. Are you trying to do this in code, or somehow with pipes (or something)?
The in code option would involve obtaining your G4 data in a memory buffer, opening a new tiff, setting the relevant tags (including width, height, and compression scheme to G4), and then calling TIFFWriteEncodedStrip.
If you need any more help, feel free to ask.