Return-Path: <tiff-bounces@lists.maptools.org>
Received: from inas022.isp.belgacom.be (localhost [127.0.0.1])
        by inav002.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-AV-3.00) with ESMTP id k19FQ6Zs019655
        for <joris.at.lebbeke@skynet.be>; Thu, 9 Feb 2006 16:26:07 +0100
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from inmx009.isp.belgacom.be (inmx009.isp.belgacom.be [195.238.5.146])
        by inas022.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-AS-2.03) with ESMTP id k19FPxpa019341
        for <joris.at.lebbeke@skynet.be>; Thu, 9 Feb 2006 16:26:00 +0100
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from duke.maptools.org (r153.dmsolutions.ca [209.217.116.153] (may be forged))
        by inmx009.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-2.32) with ESMTP id k19FPqaA002441
        for <joris.at.lebbeke@skynet.be>; Thu, 9 Feb 2006 16:25:54 +0100
        (envelope-from <tiff-bounces@lists.maptools.org>)
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 k19FBT9p031190;
	Thu, 9 Feb 2006 10:14:50 -0500
Received: from scmze001.ssan.egs-seg.gc.ca (scmze001.ssan.egs-seg.gc.ca
	[205.194.19.85])
	by duke.maptools.org (8.12.11/8.12.10) with ESMTP id k19FA1oh031034
	for <tiff@lists.maptools.org>; Thu, 9 Feb 2006 10:10:03 -0500
Received: from bulwark1.ic.gc.ca ([192.197.178.1])
	by scmze001.ssan.egs-seg.gc.ca with ESMTP; 09 Feb 2006 10:07:00 -0500
Received: from msg-gate2.ic.gc.ca ([142.53.11.42]) by bulwark1.ic.gc.ca
	via smtpd (for scmze001.ssan.egs-seg.gc.ca [205.194.19.85]) with ESMTP;
	Thu, 9 Feb 2006 10:07:00 -0500
Received: from parapet11.ic.gc.ca (parapet11.ic.gc.ca [142.53.11.253])
	by msg-gate2.ic.gc.ca (Switch-3.1.7/Switch-3.1.7) with ESMTP id
	k19F6xvt027009
	for <tiff@lists.maptools.org>; Thu, 9 Feb 2006 10:07:00 -0500 (EST)
Received: from msg-con2.icent.ic.gc.ca by parapet11.ic.gc.ca
	via smtpd (for msg-gate2.ic.gc.ca [142.53.11.42]) with ESMTP;
	Thu, 9 Feb 2006 10:06:59 -0500
Received: from msg-con1.icent.ic.gc.ca ([142.53.28.148]) by
	msg-con2.icent.ic.gc.ca with Microsoft SMTPSVC(6.0.3790.211); 
	Thu, 9 Feb 2006 10:06:59 -0500
Received: from msg-mb2.icent.ic.gc.ca ([142.53.28.151]) by
	msg-con1.icent.ic.gc.ca with Microsoft SMTPSVC(6.0.3790.211); 
	Thu, 9 Feb 2006 10:06:59 -0500
X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Subject: RE: [Tiff] Cannot create Planar Separate tiff
Date: Thu, 9 Feb 2006 10:06:59 -0500
Message-ID: <F78E6BBD22A6FC4489EBE25045407908036FA567@msg-mb2.icent.ic.gc.ca>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [Tiff] Cannot create Planar Separate tiff
Thread-Index: AcYtY9FNLhddKqgZShePDj50+IGJwgAJTd/Q
From: "Pallek, Bernie: #CIPO - OPIC" <Pallek.Bernie@ic.gc.ca>
To: <tiff@lists.maptools.org>
X-OriginalArrivalTime: 09 Feb 2006 15:06:59.0789 (UTC)
	FILETIME=[79BE4FD0:01C62D8A]
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by duke.maptools.org id
	k19FA1oh031034
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.000012a5
X-MSP-STORE: Thu, 09 Feb 2006 16:26:11 +0100
Status:   

> From: tiff-bounces@lists.maptools.org
> [mailto:tiff-bounces@lists.maptools.org]On Behalf Of michael Dorrian
> Sent: Thursday, February 9, 2006 5:29 AM
> Subject: [Tiff] Cannot create Planar Separate tiff
> 
> I cannot seem to create a planar Separate Tiff. One strip is 
> all R bytes then the next is all green bytes then the next is 
> all Blue bytes. Say i have three strip image i have many 
> rows(rows*strips=Image Length). I mean exactly 3 strips with 
> no extra couple of rows at the bottom. Do i set the first 
> strip to all Red bytes, the next to all green and the next to 
> all blue. I am using TiffWriteEncodeStrip to write each 
> strip. Is this correct?. Then if i do this should my output 
> be correct or is my method wrong?. Sorry if this is a silly 
> question because maybe i am doing something wrong in my 
> pogram if themethod above is right......

I think you have the correct idea.  Are you remembering to set PhotometricInterpretation (262) to RGB (2)?  Perhaps you can run tiffdump on your resulting file, and check to make sure that everything "looks right" (or post the results to the list for others to check over).

Take note that planar config is not part of baseline support according to the 6.0 spec, so some readers might not support it.

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