AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2002.08.02 15:54 "TIFF to stdout?", by Justin Alexander
2002.08.02 16:09 "Re: TIFF to stdout?", by Dwight Kelly

2002.08.02 16:09 "Re: TIFF to stdout?", by Dwight Kelly

Is it possible to save a TIFF (multip page in my case) to stdout?

Most TIFF as created by libtiff require a seek to the beginning of the file to update the offset of the TIFF tags directory. SGI defined a variant of TIFF called STIFF (streaming TIFF) which could be piped between applications. The directory had to be at the start of the file. You maybe able to force the directory to be written first by calling TIFFWriteDirectory before writing any raster scanlines. ROWSPERSTRIP should be equal to IMAGEHEIGHT.

--
Dwight Kelly
Apago, Inc.
4080 McGinnis Ferry Rd Suite 601 Alpharetta, GA 30005
voice:(770) 619-1884 fax:(770) 619-1885
email: dkelly@apago.com web: http://www.apago.com

Download a free evaluation copy of the award winning PDF/X Checkup. Version
2.50 includes many new features including PDF/X Plus workflow checks! Free
upgrade to registered users. http://www.apago.com/pdfxcheckup