AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2006.07.24 06:35 "[Tiff] Group 3 Fax", by M.S.Namvari
2006.07.24 07:33 "Re: [Tiff] Group 3 Fax", by Joris

2006.07.24 06:35 "[Tiff] Group 3 Fax", by M.S.Namvari

Hi,

I am using Delphi LibTiff.Want to create a Fax 3 Tiff file to

sending fax with modem or dialogic borads.I use this setting: TIFFSetField(OpenTiff,TIFFTAG_RESOLUTIONUNIT,RESUNIT_INCH);

TIFFSetField(OpenTiff,TIFFTAG_IMAGEWIDTH,Bitmap.Width);
TIFFSetField(OpenTiff,TIFFTAG_IMAGELENGTH,Bitmap.Height);

TIFFSetField(OpenTiff,TIFFTAG_PHOTOMETRIC,PHOTOMETRIC_MINISWHITE); TIFFSetField(OpenTiff,TIFFTAG_SAMPLESPERPIXEL,1);

TIFFSetField(OpenTiff,TIFFTAG_BITSPERSAMPLE,1);

TIFFSetField(OpenTiff,TIFFTAG_PLANARCONFIG,PLANARCONFIG_CONTIG);

TIFFSetField(OpenTiff,TIFFTAG_COMPRESSION,COMPRESSION_CCITTFAX3);

TIFFSetField(OpenTiff, TIFFTAG_XRESOLUTION, 200);
TIFFSetField(OpenTiff, TIFFTAG_YRESOLUTION, 200);
TIFFSetField(OpenTiff,TIFFTAG_ROWSPERSTRIP,RowsPerStrip);

But in output file XResolution and YResolution is Zero.

___________________________________________________________

The all-new Yahoo! Mail goes wherever you go - free your email address from your Internet provider. http://uk.docs.yahoo.com/nowyoucan.html