Return-Path: <awaresystems.be+caf_=filtered=awaresystems.be@gmail.com>
X-Original-To: filtered@awaresystems.be
Delivered-To: filtered@awaresystems.be
Received: from mx-q.b-one.net (mx-q.one.com [91.198.169.248])
	by mail9.b-one.net (Postfix) with ESMTP id F1F58400160
	for <filtered@awaresystems.be>; Fri, 16 Sep 2011 04:17:52 +0200 (CEST)
Received: by mx-q.b-one.net (Postfix, from userid 106)
	id E93C9436E1; Fri, 16 Sep 2011 04:17:22 +0200 (CEST)
X-Virus-Scanned: by one.com
Received-SPF: pass (mx-q: domain of
 awaresystems.be+caf_=filtered=awaresystems.be@gmail.com designates
 74.125.82.42 as permitted sender)
X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4
Received: from mail-ww0-f42.google.com (mail-ww0-f42.google.com
 [74.125.82.42]) by mx-q.b-one.net (Postfix) with ESMTP id 3BCC222E4A for
 <filtered@awaresystems.be>; Fri, 16 Sep 2011 04:17:22 +0200 (CEST)
Received: by wwn22 with SMTP id 22so9330wwn.3 for <filtered@awaresystems.be>;
 Thu, 15 Sep 2011 19:17:21 -0700 (PDT)
Received: by 10.216.72.80 with SMTP id s58mr124821wed.1.1316139440457; Thu,
 15 Sep 2011 19:17:20 -0700 (PDT)
X-Forwarded-To: filtered@awaresystems.be
X-Forwarded-For: awaresystems.be@gmail.com filtered@awaresystems.be
Delivered-To: awaresystems.be@gmail.com
Received: by 10.216.8.131 with SMTP id 3cs124232wer; Thu, 15 Sep 2011
 19:17:19 -0700 (PDT)
Received: by 10.227.69.81 with SMTP id y17mr878776wbi.87.1316139437816; Thu,
 15 Sep 2011 19:17:17 -0700 (PDT)
Received-SPF: softfail (google.com: best guess record for domain of
 transitioning tiff-bounces@lists.maptools.org does not designate
 91.198.169.58 as permitted sender) client-ip=91.198.169.58;
Received: by 10.241.226.205 with POP3 id 13mf1483295wyh.37; Thu, 15 Sep 2011
 19:17:17 -0700 (PDT)
X-Gmail-Fetch-Info: info@awaresystems.be 1 pop.awaresystems.be 110
 info@awaresystems.be
X-Original-To: info@awaresystems.be
Delivered-To: info@awaresystems.be
Received: from mx-k.b-one.net (mx-k.one.com [91.198.169.58]) by
 mail9.b-one.net (Postfix) with ESMTP id 2F45D400160 for
 <info@awaresystems.be>; Fri, 16 Sep 2011 04:11:32 +0200 (CEST)
Received: by mx-k.b-one.net (Postfix, from userid 106) id 0966466B9C05; Fri,
 16 Sep 2011 04:11:05 +0200 (CEST)
X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4
Received: from lists.maptools.org (lists.maptools.org [65.39.174.144]) by
 mx-k.b-one.net (Postfix) with ESMTP id 1D82766B9C00 for
 <info@awaresystems.be>; Fri, 16 Sep 2011 04:11:04 +0200 (CEST)
Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by
 lists.maptools.org (Postfix) with ESMTP id 64AAD87594; Thu, 15 Sep 2011
 21:09:32 -0500 (EST)
Received: from out01.dlls.pa.frontiernet.net (out01.dlls.pa.frontiernet.net
 [199.224.80.228]) by lists.maptools.org (Postfix) with ESMTP id 17A5C8752B
 for <tiff@lists.maptools.org>; Thu, 15 Sep 2011 20:58:25 -0500 (EST)
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result:
 Av8EAB+sck5BJSp1/2dsb2JhbABBplmBAIJLAQEEAThAAQULCxUMFg8JAwIBAgEPNhMBBQIBAYdzBLUKhnQEjEuMGIR0hzY
X-IronPort-AV: E=Sophos;i="4.68,391,1312156800"; d="scan'208";a="178288739"
Received: from relay03.dlls.pa.frontiernet.net ([199.224.80.246]) by
 out01.dlls.pa.frontiernet.net with ESMTP; 16 Sep 2011 01:58:24 +0000
X-Previous-IP: 65.37.42.117
Received: from [192.168.2.101]
 (65-37-42-117.dsl1-fairport.roch.ny.frontiernet.net [65.37.42.117]) by
 relay03.dlls.pa.frontiernet.net (Postfix) with ESMTPA id 7CB58940A9 for
 <tiff@lists.maptools.org>; Fri, 16 Sep 2011 01:58:22 +0000 (UTC)
Message-ID: <4E72AD31.9070302@intielectronics.com>
Date: Thu, 15 Sep 2011 21:58:09 -0400
From: DonM <dm413-tiff@intielectronics.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0.2) Gecko/20110902
 Thunderbird/6.0.2
MIME-Version: 1.0
CC: tiff@lists.maptools.org
References: <4E7152B4.3080608@intielectronics.com>
 <CAGNS0RudJxA9tQ9OhJSC09gO01fC8Sx5EY1eZ0vdv5erY6BJbA@mail.gmail.com>
In-Reply-To:
 <CAGNS0RudJxA9tQ9OhJSC09gO01fC8Sx5EY1eZ0vdv5erY6BJbA@mail.gmail.com>
Subject: Re: [Tiff] TIFFOpen fails on file with large image size.
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

From: jcupitt@gmail.com

> Could it be a problem with the way your libtiff was compiled? Did you
> build it yourself and, if you did, how did you configure it? You may
> need to patch it to enable tif_win32.c. For tiff4beta6 I use this
> patch:
>
> http://www.vips.ecs.soton.ac.uk/supported/7.22/win32/tiff4.0.0beta6.patch
>
> I don't know if there are any compiler flags which might also need checking.

Thank you for both your testing and your suggestions. You got me on the right track, and I figured out what I was doing wrong -- I was building a debug build application and using a release build library (statically linked). Thanks,

Don

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