Return-Path: <tiff-bounces@remotesensing.org>
Received: from inmx015.isp.belgacom.be (inmx015.isp.belgacom.be [195.238.2.218])
        by mailst035.isp.belgacom.be (8.12.11/8.12.11/Skynet-MAILSTORE-2.14) with ESMTP id j0SN36LH018781
        for <joris.at.lebbeke@skynet.be>; Sat, 29 Jan 2005 00:03:06 +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 inmx015.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-2.32) with ESMTP id j0SN2kcr021881
        for <joris.at.lebbeke@skynet.be>; Sat, 29 Jan 2005 00:02:47 +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 CD58F611AF3; Fri, 28 Jan 2005 18:02:33 -0500 (EST)
X-Original-To: tiff@remotesensing.org
Delivered-To: tiff@remotesensing.org
Received: from scooby.simplesystems.org (scooby.simplesystems.org
	[65.66.246.67])
	by xserve.flids.com (Postfix) with ESMTP id A7778611ACF
	for <tiff@remotesensing.org>; Fri, 28 Jan 2005 18:02:31 -0500 (EST)
Received: from blade.simplesystems.org (blade.simplesystems.org [65.66.246.74])
	by scooby.simplesystems.org (8.12.10+Sun/8.12.10) with ESMTP id
	j0SN2RVL019135; Fri, 28 Jan 2005 17:02:27 -0600 (CST)
Date: Fri, 28 Jan 2005 17:02:27 -0600 (CST)
From: Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
X-X-Sender: bfriesen@blade.simplesystems.org
To: Antoine <melser.anton@gmail.com>
Subject: Re: [Tiff] planarconfig
In-Reply-To: <41FAC2A4.2090803@gmail.com>
Message-ID: <Pine.SOC.4.60.0501281700540.7604@blade.simplesystems.org>
References: <92d3a49505012808035ce357ef@mail.gmail.com>
	<Pine.SOC.4.60.0501281453360.7604@blade.simplesystems.org>
	<41FAC2A4.2090803@gmail.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
Cc: Tiff mailing list <tiff@remotesensing.org>
X-BeenThere: tiff@remotesensing.org
X-Mailman-Version: 2.1.2
Precedence: list
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: 285e8ea95e0bf1e79d23488d88a87558

On Fri, 28 Jan 2005, Antoine wrote:
>>> 
>>> Is there something I am missing about how tiff works?
>> It sounds like the reading program is not properly supplying the default 
>> value.
>
> Hi I probably should have stipulated that I was using a modified tiffcp to do 
> this. So it is basically TIFFGetField and TIFFSetField. Basically I got rid

It sounds like you just need to use TIFFGetFieldDefaulted rather than 
TIFFGetField.

> ps. I still don't understand why, but opentiff won't copy an image over if 
> planarconfig is not set but will happily remove it afterwards.

Sounds like a bug.

Bob
======================================
Bob Friesenhahn
bfriesen@simple.dallas.tx.us
http://www.simplesystems.org/users/bfriesen
_______________________________________________
Tiff mailing list
Tiff@remotesensing.org
http://xserve.flids.com/mailman/listinfo/tiff
