Return-Path: owner-tiff@olympiakos.com
Return-Path: <owner-tiff@olympiakos.com>
Received: from localhost (localhost [127.0.0.1])
	by at1895.spb.edu (8.12.4/8.12.4/Debian-4) with ESMTP id g6AMU6jh022224
	for <dron@localhost>; Thu, 11 Jul 2002 02:49:25 +0400
Received: from eudoramail.com [209.185.123.45]
	by localhost with POP3 (fetchmail-5.9.11)
	for dron@localhost (single-drop); Thu, 11 Jul 2002 02:49:25 +0400 (MSD)
Received: from gate7.olympiakos.com ([64.32.199.150]) by shared1-mail.whowhere.com; Sat Jun 29 14:49:20 2002
Received: from localhost (daemon@localhost)
	by gate7.olympiakos.com (8.9.3/8.9.3) with SMTP id BAA20371;
	Sat, 29 Jun 2002 01:38:53 -0400
Received: by gate7.olympiakos.com (bulk_mailer v1.9); Sat, 29 Jun 2002 01:37:54 -0400
Received: (from majordom@localhost)
	by gate7.olympiakos.com (8.9.3/8.9.3) id BAA20347
	for tiff-outgoing; Sat, 29 Jun 2002 01:37:44 -0400
Received: from smtpout.mac.com (smtpout.mac.com [204.179.120.88])
	by gate7.olympiakos.com (8.9.3/8.9.3) with ESMTP id BAA20344
	for <tiff@olympiakos.com>; Sat, 29 Jun 2002 01:37:42 -0400
Received: (from root@localhost)
	by smtpout.mac.com (8.12.1/8.10.2/1.0) id g5T5bfuo011412;
	Fri, 28 Jun 2002 22:37:41 -0700 (PDT)
Received: from smtpin08.mac.com ([10.13.10.153]) by ms05.mac.com
          (Netscape Messaging Server 4.15 ms05 Mar  5 2002 15:11:07) with
          ESMTP id GYDKQV00.04H for <cmh@mac.com>; Thu, 27 Jun 2002 10:32:55 -0700 
Received: from gate7.olympiakos.com (sdsl-64-32-199-150.dsl.iad.megapath.net [64.32.199.150])
	by smtpin08.mac.com (8.12.3/8.12.1/1.0) with ESMTP id g5RHWmPu018718
	for <cmh@mac.com>; Thu, 27 Jun 2002 10:32:51 -0700 (PDT)
Received: from localhost (daemon@localhost)
	by gate7.olympiakos.com (8.9.3/8.9.3) with SMTP id LAA17737;
	Thu, 27 Jun 2002 11:40:28 -0400
Received: by gate7.olympiakos.com (bulk_mailer v1.9); Thu, 27 Jun 2002 11:38:55 -0400
Received: (from majordom@localhost)
	by gate7.olympiakos.com (8.9.3/8.9.3) id LAA17724
	for tiff-outgoing; Thu, 27 Jun 2002 11:38:54 -0400
X-Authentication-Warning: gate7.olympiakos.com: majordom set sender to owner-tiff@olympiakos.com using -f
Received: from sceaux.ilog.fr (sceaux.ilog.fr [193.55.64.10])
	by gate7.olympiakos.com (8.9.3/8.9.3) with ESMTP id LAA17721
	for <tiff@olympiakos.com>; Thu, 27 Jun 2002 11:38:49 -0400
Received: from ftp.ilog.fr (ftp.ilog.fr [193.55.64.11])
	by sceaux.ilog.fr (8.11.6/8.11.6) with SMTP id g5RFZAi24265
	for <tiff@olympiakos.com>; Thu, 27 Jun 2002 17:35:16 +0200 (MET DST)
Received: from laposte.ilog.fr ([193.55.64.67])
 by ftp.ilog.fr (NAVGW 2.5.1.16) with SMTP id M2002062717380016269
 for <tiff@olympiakos.com>; Thu, 27 Jun 2002 17:38:00 +0200
Received: from SEGUR ([172.17.4.178])
	by laposte.ilog.fr (8.11.6/8.11.5) with SMTP id g5RFbxw05922
	for <tiff@olympiakos.com>; Thu, 27 Jun 2002 17:37:59 +0200 (MET DST)
Message-ID: <001f01c21df0$b134cfa0$240110ac@SEGUR>
From: "Frederic Delhoume" <delhoume@ilog.fr>
To: <tiff@olympiakos.com>
Subject: tiffcp allocating full image buffers
Date: Thu, 27 Jun 2002 17:38:32 +0200
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Sender: owner-tiff@olympiakos.com
Precedence: bulk
Status: RO
Content-Length: 762
Lines: 20

Hi,

I want to convert a very large tiff untiled image (21000x21000) to a tiff tiled image
and have problems because the tiffcp tool allocates the whole image.
That's more than 1.3 Gigabytes of memory and the TIFFMalloc call fails.
The code is in cpImage(..)

Has anybody a version that would not allocate all the source image but only what is
necessary (I guess one tile height * one raster scan line size sould be enough) ?

Thank you, 

Frederic. 


To subscribe or unsubscribe email tiff-request@olympiakos.com with subscribe
or unsubscribe in the email body.  Libtiff home page: http://www.libtiff.org

To subscribe or unsubscribe email tiff-request@olympiakos.com with subscribe
or unsubscribe in the email body.  Libtiff home page: http://www.libtiff.org

