Received: from mailgate007.isp.belgacom.be (mailgate007.isp.belgacom.be [195.238.5.213])
	by maildelivery020.isp.belgacom.be (Postfix) with ESMTP id 533E57AC002
	for <joris.at.lebbeke@skynet.be>; Fri, 27 Jul 2007 20:05:47 +0200 (CEST)
Received: from r153.dmsolutions.ca (HELO duke.maptools.org) ([209.217.116.153])
  by in.mx.skynet.be with ESMTP; 27 Jul 2007 20:05:44 +0200
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 l6RHsqUC023503;
	Fri, 27 Jul 2007 13:54:57 -0400
Received: from scooby.simplesystems.org (scooby.simplesystems.org
	[65.66.246.67])
	by duke.maptools.org (8.12.11/8.12.10) with ESMTP id l6RHsoW4023500
	for <tiff@lists.maptools.org>; Fri, 27 Jul 2007 13:54:50 -0400
Received: from blade.simplesystems.org (blade.simplesystems.org [65.66.246.74])
	by scooby.simplesystems.org (8.12.10+Sun/8.12.10) with ESMTP id
	l6RHsmW7002593; Fri, 27 Jul 2007 12:54:48 -0500 (CDT)
Date: Fri, 27 Jul 2007 12:54:48 -0500 (CDT)
From: Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
X-X-Sender: bfriesen@blade.simplesystems.org
To: mohamad zeinali <delphiboy@gmail.com>
Subject: Re: [Tiff] How to create a 200x100 dpi TIFF file?
In-Reply-To: <7e3058f70707271044y6fe14f34i8fbf988fee54ddb8@mail.gmail.com>
Message-ID: <Pine.SOC.4.60.0707271252530.922@blade.simplesystems.org>
References: <7e3058f70707271044y6fe14f34i8fbf988fee54ddb8@mail.gmail.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
Cc: tiff@lists.maptools.org
X-BeenThere: tiff@lists.maptools.org
X-Mailman-Version: 2.1.4
Precedence: list
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.000026a3
X-MSP-STORE: Fri, 27 Jul 2007 20:05:47 +0200
Status: RO

On Fri, 27 Jul 2007, mohamad zeinali wrote:

> Hi there,
> I want to make a TIFF file from a TBitmap. I read the thread :
> http://www.asmail.be/msg0054998186.html
>
> It helped a lot, but I need my file to be Fax Group 3 and also with 200 dpi
> horizontal resolution and
> 100dpi vertical resolution. I know how to make it G3 but I have a
> headache with resolution.
> I tried XRESOLUTION  and YRESOLUTION tags without any luck.

Libtiff will only save the pixels as supplied.  The resolution values 
are just attributes for the image.  Libtiff will not resample the 
pixels for you.  If you have an image that needs to be resampled to 
work with FAX, then you will need to use some other software that can 
do the resampling for you.

Bob
======================================
Bob Friesenhahn
bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/

_______________________________________________
Tiff mailing list: Tiff@lists.maptools.org
http://lists.maptools.org/mailman/listinfo/tiff
http://www.remotesensing.org/libtiff/
