Return-Path: <tiff-bounces@lists.maptools.org>
Received: from inas030.isp.belgacom.be (localhost [127.0.0.1])
        by inav030.isp.belgacom.be (8.12.11.20060308/8.12.11/Skynet-IN-AV-3.00) with ESMTP id k6O72E5a011165
        for <joris.at.lebbeke@skynet.be>; Mon, 24 Jul 2006 09:02:15 +0200
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from inmx018.isp.belgacom.be (inmx018.isp.belgacom.be [195.238.4.79])
        by inas030.isp.belgacom.be (8.12.11.20060308/8.12.11/Skynet-IN-AS-2.03) with ESMTP id k6O72ArV029077
        for <joris.at.lebbeke@skynet.be>; Mon, 24 Jul 2006 09:02:11 +0200
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from duke.maptools.org (r153.dmsolutions.ca [209.217.116.153] (may be forged))
        by inmx018.isp.belgacom.be (8.12.11.20060308/8.12.11/Skynet-IN-2.32) with ESMTP id k6O723ui031476
        for <joris.at.lebbeke@skynet.be>; Mon, 24 Jul 2006 09:02:03 +0200
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from duke.maptools.org (duke.maptools.org [127.0.0.1])
	by duke.maptools.org (8.12.11/8.12.10) with ESMTP id k6O6ZRs3000728;
	Mon, 24 Jul 2006 02:36:01 -0400
Received: from web54606.mail.yahoo.com (web54606.mail.yahoo.com
	[206.190.49.176])
	by duke.maptools.org (8.12.11/8.12.10) with SMTP id k6O6ZPIP000725
	for <tiff@lists.maptools.org>; Mon, 24 Jul 2006 02:35:25 -0400
Received: (qmail 46906 invoked by uid 60001); 24 Jul 2006 06:35:18 -0000
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com;
	h=Message-ID:Received:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding;
	b=rGyVi7zHdlyKE/y0KUJNl6STZVHNKvA3eOSMo1k5nyx6F1yjdtrztWfHrmMkMY/lz3mWJL9bssvdlhzRnhBz3BZiHNHSFlM4KNW8vEjQmNDWCKJRSFPHioFdzFJIpH+1rBmviY8GqZNX0fYucjiuwV66Q6SecqqDiLj1TUgFxPo=
	; 
Message-ID: <20060724063518.46904.qmail@web54606.mail.yahoo.com>
Received: from [85.185.4.135] by web54606.mail.yahoo.com via HTTP;
	Mon, 24 Jul 2006 07:35:18 BST
Date: Mon, 24 Jul 2006 07:35:18 +0100 (BST)
From: "M.S.Namvari" <msnamvari@yahoo.com>
To: tiff@lists.maptools.org
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Subject: [Tiff] Group 3 Fax 
X-BeenThere: tiff@lists.maptools.org
X-Mailman-Version: 2.1.4
Precedence: list
Reply-To: namvari@gmail.com
List-Id: TIFF and libtiff discussion <tiff.lists.maptools.org>
List-Unsubscribe: <http://lists.maptools.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@lists.maptools.org?subject=unsubscribe>
List-Archive: <http://lists.maptools.org/mailman/private/tiff>
List-Post: <mailto:tiff@lists.maptools.org>
List-Help: <mailto:tiff-request@lists.maptools.org?subject=help>
List-Subscribe: <http://lists.maptools.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@lists.maptools.org?subject=subscribe>
Sender: tiff-bounces@lists.maptools.org
Errors-To: tiff-bounces@lists.maptools.org
X-UIDL: 000000000023ceae.000018c1
X-MSP-STORE: Mon, 24 Jul 2006 09:02:22 +0200
Status:   

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
_______________________________________________
Tiff mailing list: Tiff@lists.maptools.org
http://lists.maptools.org/mailman/listinfo/tiff
http://www.remotesensing.org/libtiff/
