Return-Path: <tiff-bounces@lists.maptools.org>
X-Original-To: info@awaresystems.be
Delivered-To: info@awaresystems.be
Received: from mx-i.b-one.net (mx-i.one.com [91.198.169.56])
	by mail9.b-one.net (Postfix) with ESMTP id 573F640080A
	for <info@awaresystems.be>; Fri, 12 Mar 2010 14:42:49 +0100 (CET)
Received: by mx-i.b-one.net (Postfix, from userid 106)
	id 4E5E63B1E0A; Fri, 12 Mar 2010 14:42:49 +0100 (CET)
X-Virus-Scanned: by one.com
X-Spam-Score: 0
X-Spam-Level: 
X-Spam-Status: No, score=0 tagged_above=0 required=4 tests=[none]
X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4
Received: from lists.maptools.org (lists.maptools.org [65.39.174.144]) by
 mx-i.b-one.net (Postfix) with ESMTP id 81B0B3AA11F for
 <info@awaresystems.be>; Fri, 12 Mar 2010 14:42:48 +0100 (CET)
Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by
 lists.maptools.org (Postfix) with ESMTP id B99021D18E0C0; Fri, 12 Mar 2010
 08:39:43 -0500 (EST)
Received: from mail-pv0-f172.google.com (mail-pv0-f172.google.com
 [74.125.83.172]) by lists.maptools.org (Postfix) with ESMTP id 1F5CC1D1961D6
 for <tiff@lists.maptools.org>; Fri, 12 Mar 2010 08:23:02 -0500 (EST)
Received: by pvg2 with SMTP id 2so508392pvg.3 for <tiff@lists.maptools.org>;
 Fri, 12 Mar 2010 05:23:02 -0800 (PST)
MIME-Version: 1.0
Received: by 10.115.65.28 with SMTP id s28mr2566821wak.114.1268400182083;
 Fri,  12 Mar 2010 05:23:02 -0800 (PST)
Date: Fri, 12 Mar 2010 07:23:02 -0600
Message-ID: <366c6f341003120523p7dd62896nbcb99bddec12ebc0@mail.gmail.com>
From: Peng Yu <pengyu.ut@gmail.com>
To: tiff@lists.maptools.org
Subject: [Tiff] tiff2pdf: how to scale the image to fit the page?
X-BeenThere: tiff@lists.maptools.org
X-Mailman-Version: 2.1.9
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>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: tiff-bounces@lists.maptools.org
Errors-To: tiff-bounces@lists.maptools.org

I find the option to set the page size -p in tiff2pdf. But I don't see
how to make sure a large image fit in the page, and how to scale up a
small image fit in the page. Could you let me how to do it if it is
possible with tiff2pdf?

My version of libtiff is

LIBTIFF, Version 3.9.2
Copyright (c) 1988-1996 Sam Leffler
Copyright (c) 1991-1996 Silicon Graphics, Inc.
_______________________________________________
Tiff mailing list: Tiff@lists.maptools.org
http://lists.maptools.org/mailman/listinfo/tiff
http://www.remotesensing.org/libtiff/
