Received: from mailgate002.isp.belgacom.be (mailgate002.isp.belgacom.be [195.238.6.87])
	by maildelivery004.isp.belgacom.be (Postfix) with ESMTP id 5A70563C014
	for <joris.at.lebbeke@skynet.be>; Wed, 26 Mar 2008 20:58:51 +0100 (CET)
Authentication-Results: in.mx.skynet.be; dkim=neutral (message not signed) header.i=none
Received: from r153.dmsolutions.ca (HELO duke.maptools.org) ([209.217.116.153])
  by in.mx.skynet.be with ESMTP; 26 Mar 2008 20:58:50 +0100
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 m2QJRGGc014898;
	Wed, 26 Mar 2008 15:28:57 -0400
Received: from smtp2.execulink.net (smtp2.execulink.net [69.63.44.83])
	by duke.maptools.org (8.12.11/8.12.10) with ESMTP id m2QJRFFG014895
	for <tiff@lists.maptools.org>; Wed, 26 Mar 2008 15:27:15 -0400
Received: from smtp.golden.net (golden1.internal.mail.execulink.net
	[69.63.44.66])
	by smtp2.execulink.net (8.13.1/8.13.1) with ESMTP id m2QJVTgv028361;
	Wed, 26 Mar 2008 15:31:29 -0400
Received: from router.confocal.com ([216.75.170.171] helo=Earth32)
	by smtp.golden.net with esmtpa (Exim 4.50)
	id 1JebCw-0007Ca-Pg; Wed, 26 Mar 2008 15:22:47 -0400
From: "Audil Virk" <avirk@confocal.com>
To: "'Frank Warmerdam'" <warmerdam@pobox.com>
References: <C5D2E3FA9B31402C8FE36EA48427BEC3@confocal.com>
	<47E94CC9.8050207@pobox.com>
In-Reply-To: <47E94CC9.8050207@pobox.com>
Subject: RE: [Tiff] Can't write a BigTIFF file greater than 4 GB
Date: Wed, 26 Mar 2008 15:27:13 -0400
Organization: Biomedical Photometrics Inc.
Message-ID: <352044279ED044128741C9014EAA3595@confocal.com>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook 11
X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6000.16545
Thread-Index: AciOqjG76QLj5AGTQkm/M9B8cJNGiAAzB/OQ
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.00002b7b
X-MSP-STORE: Wed, 26 Mar 2008 20:57:49 +0100
Status: RO

Hello Frank,

That did it.  The default is tif_unix.c.  Thank you for your help.

-Audil

-----Original Message-----
From: Frank Warmerdam [mailto:warmerdam@pobox.com] 
Sent: March-25-08 3:05 PM
To: Audil Virk
Cc: tiff@lists.maptools.org
Subject: Re: [Tiff] Can't write a BigTIFF file greater than 4 GB

Audil Virk wrote:
> Hello,
> 
>  
> 
> I am using the latest build of libtiff tiff-4.0.0alpha on Windows XP
32-bit.
> 
>  
> 
> I am performing a test where I write a BigTIFF file that I would like to
be
> greater than 4 GB.
> 
>  
> 
> The file size will not go over 4 GB ( 4,194,258 Kbytes).
> 
>  
> 
> I use TIFFOpen with the "w8" parameter.
> 
> Strip size is one row.
> 
>  
> 
> I write scanlines one at a time using TIFFWriteScanLine and watch the file
> grow.  It always stops at 4 GB.

Audil,

Do you know which file IO layer you are using?  tif_unix.c works on
windows, but only up to 4GB (AFAIK).  You really need to use tif_win32.c
for big file support.  I'm not absolutely sure what is the default.

Best regards,
-- 
---------------------------------------+------------------------------------
--
I set the clouds in motion - turn up   | Frank Warmerdam,
warmerdam@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | President OSGeo, http://osgeo.org


__________ NOD32 2971 (20080325) Information __________

This message was checked by NOD32 antivirus system.
http://www.eset.com


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