AWare Systems, , Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
June 1993

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date


The TIFF Mailing List Homepage
Archive maintained by AWare Systems

New Datamatrix section

Valid HTML 4.01!


1993.06.15 22:06 "fax2tiff", by <>
1993.06.21 22:04 "Re: fax2tiff", by Sam Leffler

1993.06.15 22:06 "fax2tiff", by <>

I have a question about reading FAX files with the TIFF library.

I'm trying to read a Group 4 FAX file, and fax2tiff keeps dumping core.
I'm sure the FAX file is valid, as when I append TIFF header information,
a TIFFOpen works with the file flawlessly. If the FAX file were bad, the
program should report bad rows, not dump core, correct?

fax2tiff seems to function by "hot wiring" the TIFF library, but the code
leaves some questions:

1. 	At what point do (*tifin->tif_predecode) and (*tifin->tif_decoderow)
	recieve the addresses of functions? Is it when
	is executed?

2.	If I want to read Group 4 rather than Group 3, do I merely change the
	above TIFFSetField?

The FAX information is originating in a CALS image that I cut apart. I am
trying to write a generalized CALS reader for John Bradley's XV, and it seems
silly to implement additional Group 4 machinery when libtiff is already in use.
I will most probably attempt to replace the FAX G3 code Bradley is distributing
in xv-3.00 (that came from PBM) with a simpler/smaller call to libtiff
(if I can figure out fax2tiff).

Thank you most kindly for any information you might give (as it will help me
keep my job).