AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
February 2007

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

2007.02.05 19:34 "The fake input in fax2tiff", by John Whitington
2007.02.06 05:03 "Re: The fake input in fax2tiff", by Joris Van Damme
2007.02.06 10:54 "Re: The fake input in fax2tiff", by John Whitington

2007.02.05 19:34 "The fake input in fax2tiff", by John Whitington

Dear all,

I'm modifying the fax2tiff source to decode CCITT streams from PDF files into 
raw data. Thus, I don't need to produce an output TIFF. It works, but now I'm 
paring it down by removing the output code.

The fake input fax2tiff produces to make the fax input work is initialised in 
the original source like this:

	faxTIFF = TIFFClientOpen("(FakeInput)", "w",
	/* TIFFClientOpen() fails if we don't set existing value here */
				 TIFFClientdata(out),
				 TIFFGetReadProc(out), TIFFGetWriteProc(out),
				 TIFFGetSeekProc(out), TIFFGetCloseProc(out),
				 TIFFGetSizeProc(out), TIFFGetMapFileProc(out),
				 TIFFGetUnmapFileProc(out));

(Where 'out' is the TIFF pointer being used for output).

How can I synthesize the values (TIFFClientdata etc.) without having to open an 
actual output TIFF?

With Thanks,

-- 
John Whitington