Return-Path: <tiff-bounces@lists.maptools.org>
Received: from mailgate007.isp.belgacom.be (mailgate007.isp.belgacom.be [195.238.5.213])
        by inmx010.isp.belgacom.be (8.12.11.20060308/8.12.11/Skynet-IN-2.32) with ESMTP id l5T7qrDk018171
        for <joris.at.lebbeke@skynet.be>; Fri, 29 Jun 2007 09:52:54 +0200
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from r153.dmsolutions.ca (HELO duke.maptools.org) ([209.217.116.153])
  by in.mx.skynet.be with ESMTP; 29 Jun 2007 09:52:53 +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 l5T7d4MM023335;
	Fri, 29 Jun 2007 03:40:39 -0400
Received: from smtp5-g19.free.fr (smtp5-g19.free.fr [212.27.42.35])
	by duke.maptools.org (8.12.11/8.12.10) with ESMTP id l5T7ceNH023327
	for <Tiff@lists.maptools.org>; Fri, 29 Jun 2007 03:38:41 -0400
Received: from imp3-g19.free.fr (imp3-g19.free.fr [212.27.42.3])
	by smtp5-g19.free.fr (Postfix) with ESMTP id 437694454F
	for <Tiff@lists.maptools.org>; Fri, 29 Jun 2007 09:38:38 +0200 (CEST)
Received: by imp3-g19.free.fr (Postfix, from userid 33)
	id A133F12B19; Fri, 29 Jun 2007 10:38:27 +0200 (CEST)
Received: from 195.221.178.11 ([195.221.178.11]) 
	by imp.free.fr (IMP) with HTTP 
	for <tobykaos@212.27.42.70>; Fri, 29 Jun 2007 10:38:27 +0200
Message-ID: <1183106307.4684c50390824@imp.free.fr>
Date: Fri, 29 Jun 2007 10:38:27 +0200
From: tobykaos@free.fr
To: Tiff@lists.maptools.org
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 3.2.5
X-Originating-IP: 195.221.178.11
Cc: 
Subject: [Tiff] (no subject)
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.000024a9
X-MSP-STORE: Fri, 29 Jun 2007 09:53:01 +0200
Status:   

Hi,

I try to combine tiff files into single one. But my files size is greater than
100Mo, and I get this error: "Error, no space for image buffer."

is it because not enough space can be allocated? or maybe my file is corrupted?

In tiffcp.c:

int status = 0;
	tdata_t buf = NULL;
	tsize_t scanlinesize = TIFFRasterScanlineSize(in);
        tsize_t bytes = scanlinesize * (tsize_t)imagelength;
        /*
         * XXX: Check for integer overflow.
         */
        if (scanlinesize
	    && imagelength
	    && bytes / (tsize_t)imagelength == scanlinesize) {
....
} else {
		TIFFError(TIFFFileName(in), "Error, no space for image buffer");
	}


Thanks.



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