Return-Path: <tiff-bounces@lists.maptools.org>
X-Original-To: info@awaresystems.be
Delivered-To: info@awaresystems.be
Received: from mx-f.b-one.net (mx-f.one.com [91.198.169.53])
	by mail9.b-one.net (Postfix) with ESMTP id AB9D3400365
	for <info@awaresystems.be>; Mon, 11 May 2009 13:24:33 +0200 (CEST)
X-Virus-Scanned: by one.com
X-Spam-Score: 0
X-Spam-Level: 
X-Spam-Status: No, score=0 tagged_above=0 required=6 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-f.b-one.net (Postfix) with ESMTP id 7AB8028000E1
	for <info@awaresystems.be>; Mon, 11 May 2009 13:24:31 +0200 (CEST)
Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
	by lists.maptools.org (Postfix) with ESMTP id 6946F1D11B6B7;
	Mon, 11 May 2009 06:23:45 -0500 (EST)
Received: from extramail1.jri.co.jp (extramail1.jri.co.jp [202.221.246.231])
	by lists.maptools.org (Postfix) with ESMTP id F181B1D11B6B7
	for <tiff@lists.maptools.org>; Mon, 11 May 2009 06:22:15 -0500 (EST)
Received: from extramail1.jri.co.jp (localhost [127.0.0.1])
	by extramail1.jri.co.jp (8.12.10+Sun/8.12.10) with ESMTP id
	n4BBMD1h018055
	for <tiff@lists.maptools.org>; Mon, 11 May 2009 20:22:13 +0900 (JST)
Received: from AZZ00305.s1.jri-sol.co.jp ([10.250.247.167])
	by extramail1.jri.co.jp (8.12.10+Sun/8.12.10) with ESMTP id
	n4BBMBmK018043
	for <tiff@lists.maptools.org>; Mon, 11 May 2009 20:22:13 +0900 (JST)
Received: by AZZ00305.s1.jri-sol.co.jp (Postfix, from userid 0)
	id D159716F4DD; Mon, 11 May 2009 20:22:11 +0900 (JST)
Received: from azz00302.s1.jri-sol.co.jp [10.102.2.2] 
	by AZZ00305.s1.jri-sol.co.jp with ESMTP id WAA27182;
	Mon, 11 May 2009 20:22:11 +0900
Received: from tisw001.nets.jri.co.jp (unverified) by azz00302.s1.jri-sol.co.jp
	(Clearswift SMTPRS 5.2.9) with SMTP id
	<T8e3dbfbb660a66020225fc@azz00302.s1.jri-sol.co.jp> for
	<tiff@lists.maptools.org>; Mon, 11 May 2009 20:22:11 +0900
Received: from aexfr001.s1.jri-sol.co.jp ([10.101.20.1])
	by tisw001.nets.jri.co.jp (8.10.2+Sun/3.7W/02021911) with ESMTP id
	n4BBMBq27723
	for <tiff@lists.maptools.org>; Mon, 11 May 2009 20:22:11 +0900 (JST)
Received: from AEXBK000.s1.jri-sol.co.jp ([10.101.20.12]) by
	aexfr001.s1.jri-sol.co.jp with Microsoft SMTPSVC(6.0.3790.1830);
	Mon, 11 May 2009 20:22:11 +0900
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Date: Mon, 11 May 2009 20:22:10 +0900
Message-ID: <983789AC463D0F4B914036C6AD14469E047B6B90@AEXBK000.s1.jri-sol.co.jp>
In-Reply-To: <4A07C2FC.7080407@pobox.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [Tiff] [Q] TIFFReadRGBAImage (about read COMPRESSION_JPEG
	imagefile) of libtiff.
Thread-Index: AcnSADo5HKdwQzZRTDSUKXLMxFiRoAAKLD8g
References: <983789AC463D0F4B914036C6AD14469E0475B87B@AEXBK000.s1.jri-sol.co.jp>
	<4A03AC66.5020304@pobox.com>
	<983789AC463D0F4B914036C6AD14469E0475C08C@AEXBK000.s1.jri-sol.co.jp>
	<4A0437E1.8090302@pobox.com>
	<983789AC463D0F4B914036C6AD14469E0475C3CA@AEXBK000.s1.jri-sol.co.jp>
	<4A07C2FC.7080407@pobox.com>
From: =?iso-2022-jp?B?bWFzdWkvGyRCQX0wZiEhMGo1VxsoQg==?=
	<masui.ikuhisa@jsol.co.jp>
To: <tiff@lists.maptools.org>
X-OriginalArrivalTime: 11 May 2009 11:22:11.0540 (UTC)
	FILETIME=[BA741940:01C9D22A]
Subject: Re: [Tiff] [Q] TIFFReadRGBAImage (about read COMPRESSION_JPEG
	imagefile) of libtiff.
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="iso-2022-jp"
Content-Transfer-Encoding: 7bit
Sender: tiff-bounces@lists.maptools.org
Errors-To: tiff-bounces@lists.maptools.org

Thank you for Mr. Frank

The tiff file was uploaded as follows. (filename is "test.tif") 
(URL) https://cabinet.nifty.com/sharedarea/share/list.do/txjpt/@nifty/sharedarea/tmp/

It is possible to download it by inputting the following login information. 
(Email)    ：masui.ikuhisa@jri-sol.co.jp
(Password) : 3120017895

-----Original Message-----
From: Frank Warmerdam [mailto:warmerdam@pobox.com] 
Sent: Monday, May 11, 2009 3:18 PM
To: masui/増井　郁久
Cc: tiff@lists.maptools.org
Subject: Re: [Tiff] [Q] TIFFReadRGBAImage (about read COMPRESSION_JPEG imagefile) of libtiff.

masui/増井　郁久 wrote:
> Thank you for Mr. Frank
> 
> I run tiff2rgba.
> 
>  >tiff2rgba.exe test.TIF tmp.out
> 
> ==== log start ====
> TIFFReadDirectory: Warning, test.TIF: unknown field with tag 292 (0x124) encountered.
> test.TIF: Warning, incorrect count for field "BitsPerSample" (3, expecting 1); tag trimmed.
> test.TIF: Sorry, can not handle images with 46469-bit samples.
> ==== log end ====
> 
> Is test.TIF file wrong Image Format?
> or must re-build dll?

Masui,

It would appear that the image is corrupt as tiff2rgba is reading it as having 46469 bit samples.

If you think the file is ok, perhaps you could make it available for download somewhere and I or others could review it more closely.

Best regards,


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