Return-Path: <tiff-bounces@remotesensing.org>
Received: from inmx010.isp.belgacom.be (inmx010.isp.belgacom.be [195.238.2.73])
        by mailst035.isp.belgacom.be (8.12.11/8.12.11/Skynet-MAILSTORE-2.14) with ESMTP id j0LIZkA7017535
        for <joris.at.lebbeke@skynet.be>; Fri, 21 Jan 2005 19:35:46 +0100
        (envelope-from <tiff-bounces@remotesensing.org>)
Received: from xserve.flids.com (adsl-065-083-169-202.sip.mco.bellsouth.net [65.83.169.202])
        by inmx010.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-2.32) with ESMTP id j0LIZbH0031737
        for <joris.at.lebbeke@skynet.be>; Fri, 21 Jan 2005 19:35:40 +0100
        (envelope-from <tiff-bounces@remotesensing.org>)
Received: from adsl-065-083-169-202.sip.mco.bellsouth.net (localhost [127.0.0.1])
	by xserve.flids.com (Postfix) with ESMTP
	id 76D565D99B9; Fri, 21 Jan 2005 13:35:23 -0500 (EST)
X-Original-To: tiff@remotesensing.org
Delivered-To: tiff@remotesensing.org
Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.194])
	by xserve.flids.com (Postfix) with ESMTP id 1EDD85D9996
	for <tiff@remotesensing.org>; Fri, 21 Jan 2005 13:35:21 -0500 (EST)
Received: by wproxy.gmail.com with SMTP id 57so157111wri
	for <tiff@remotesensing.org>; Fri, 21 Jan 2005 10:35:20 -0800 (PST)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com;
	h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references;
	b=eMn5O2PQ15wKkdnhQ8hcOZe1G44FPr40vuSXe4PLTrpmCc8D57EQiAIQTjPSYD+mUdcD8/6YCILkcDX/Lt86fvldUVVON+8dRDmRqB6MnhohVox6ExcrghogLLuFc1JUDknJDfqaaKk3IefPY+5I7SrGXj8458OvT7UOQ4cBCGc=
Received: by 10.54.33.58 with SMTP id g58mr189190wrg;
	Fri, 21 Jan 2005 10:35:20 -0800 (PST)
Received: by 10.54.13.2 with HTTP; Fri, 21 Jan 2005 10:35:20 -0800 (PST)
Message-ID: <931f8ea90501211035204195d2@mail.gmail.com>
Date: Fri, 21 Jan 2005 13:35:20 -0500
From: Frank Warmerdam <fwarmerdam@gmail.com>
To: Yasin Alakese <y_alakese@hotmail.com>
Subject: Re: [Tiff] SampleFormat tag error
In-Reply-To: <BAY1-F392E57BC222DD8D94A6C249D810@phx.gbl>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
References: <BAY1-F392E57BC222DD8D94A6C249D810@phx.gbl>
Cc: tiff@remotesensing.org
X-BeenThere: tiff@remotesensing.org
X-Mailman-Version: 2.1.2
Precedence: list
Reply-To: warmerdam@pobox.com
List-Id: TIFF and libtiff discussion  <tiff.remotesensing.org>
List-Unsubscribe: <http://xserve.flids.com/mailman/listinfo/tiff>,
	<mailto:tiff-request@remotesensing.org?subject=unsubscribe>
List-Archive: <http://xserve.flids.com/pipermail/tiff>
List-Post: <mailto:tiff@remotesensing.org>
List-Help: <mailto:tiff-request@remotesensing.org?subject=help>
List-Subscribe: <http://xserve.flids.com/mailman/listinfo/tiff>,
	<mailto:tiff-request@remotesensing.org?subject=subscribe>
Sender: tiff-bounces@remotesensing.org
Errors-To: tiff-bounces@remotesensing.org
X-UIDL: 58ec7389ab18426bd65a2ac2c9af382c

On Thu, 20 Jan 2005 17:34:53 +0100, Yasin Alakese <y_alakese@hotmail.com> wrote:
> Hello,
> 
> My problem is,
> I am trying to open a .tif file with TIFFOpen(...) and i got this error
> message.
> 
> "D10G.tif: Warning, incorrect count for field "SampleFormat" (1, expecting
> 3); tag ignored."
> 
> And after this message the file will not be opened. I can not go further.
> I looked at the archives of this forum, i searched internet but could not
> find anything.
> 
> Has anyone have any idea how to fix it and open my file to read the values
> of pixels?

Yasin,

The error means your file is incorrectly made.  Could you make it available
somewhere I can download?  I had thought that libtiff now would just
"extend" the sampleformat if it was short but it doesn't sound like your
version is. 

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    | Geospatial Programmer for Rent
_______________________________________________
Tiff mailing list
Tiff@remotesensing.org
http://xserve.flids.com/mailman/listinfo/tiff
