Return-Path: <tiff-admin@remotesensing.org>
Received: from inmx006.isp.belgacom.be (inmx006.isp.belgacom.be [195.238.2.106])
        by mailst006.isp.belgacom.be (8.12.9/8.12.9/Skynet-MAILSTORE-2.14) with ESMTP id i4SKONoG014138
        for <joris.at.lebbeke@skynet.be>; Fri, 28 May 2004 22:24:23 +0200
        (envelope-from <tiff-admin@remotesensing.org>)
Received: from yoda.imagelinks.com ([208.24.120.44])
        by inmx006.isp.belgacom.be (8.12.9/8.12.9/Skynet-IN-2.32) with ESMTP id i4SKOCkE029043
        for <joris.at.lebbeke@skynet.be>; Fri, 28 May 2004 22:24:13 +0200
        (envelope-from <tiff-admin@remotesensing.org>)
Received: from yoda.imagelinks.com (localhost.localdomain [127.0.0.1])
	by yoda.imagelinks.com (8.11.6/8.11.6) with ESMTP id i4SKMbx24717;
	Fri, 28 May 2004 16:22:37 -0400
Received: from exchange.microbrightfield.com (mail.neuroinformatica.com [216.204.84.51])
	by yoda.imagelinks.com (8.11.6/8.11.6) with ESMTP id i4SKLbx24685
	for <tiff@remotesensing.org>; Fri, 28 May 2004 16:21:37 -0400
X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="US-ASCII"
Message-ID: <5EA4B2EDD4BA8B4C84BE11298F81ADC403777C@exchange.microbrightfield.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: trouble Reading the tiles I wrote
Thread-Index: AcRE8VtvMrDS1odITfm3QI+cAxtqsg==
From: "James Carroll" <jim@microbrightfield.com>
To: <tiff@remotesensing.org>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by yoda.imagelinks.com id i4SKLbx24685
Subject: [Tiff] trouble Reading the tiles I wrote
Sender: tiff-admin@remotesensing.org
Errors-To: tiff-admin@remotesensing.org
X-BeenThere: tiff@remotesensing.org
X-Mailman-Version: 2.0.13
Precedence: bulk
List-Help: <mailto:tiff-request@remotesensing.org?subject=help>
List-Post: <mailto:tiff@remotesensing.org>
List-Subscribe: <http://remotesensing.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@remotesensing.org?subject=subscribe>
List-Id: TIFF and libtiff discussion <tiff.remotesensing.org>
List-Unsubscribe: <http://remotesensing.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@remotesensing.org?subject=unsubscribe>
List-Archive: <http://remotesensing.org/pipermail/tiff/>
Date: Fri, 28 May 2004 16:21:28 -0400
X-UIDL: c47e04dcf20f26c120ba8bde313c72f6


Hi,  I'm working with large images, and just created a conversion
program to create some tiled jpeg compressed tiffs.  I can create the
files, and the tiffs seem to be valid enough to be read by viewers like
irfanview.

Now I'm reading the same files into my own viewer, and having some
trouble with the color model.  There doesn't seem to be a ReadTileRGBA
and I'm having trouble converting to my internal RGBRGBRGB... image.

What should look like:
http://neuroinformatica.com:8080/jims/smallGood.jpg
What it does look like:
http://neuroinformatica.com:8080/jims/smallBad.jpg

What's the best way to convert to RGBRGBRGB...  (or BGRBGRBGR...) for
all types of encodings of tiled tiffs?

Thanks,
-Jim

_______________________________________________
Tiff mailing list
Tiff@remotesensing.org
http://remotesensing.org/mailman/listinfo/tiff
