Message-ID: A72746F94679234294FF2A8DAEC6DA5C03E71A@sbssales.in.inpho.de
To: "Steve Dekorte" <steve@dekorte.com>, <tiff@olympiakos.com>
Subject: Re: TIFFReadRGBAImage() problem
From: "Rainer Wiesenfarth" <Rainer.Wiesenfarth@inpho.de>
Date: Sun, 19 Jan 2003 11:29:34 +0100
Delivered-To: tiff-outgoing@gate7.olympiakos.com
Delivered-To: tiff@olympiakos.com
Sender: owner-tiff@olympiakos.com
Thread-Index: AcK+t074zQKr4LS9Shabc/oCmz1dtwA7eXrZ
Thread-Topic: TIFFReadRGBAImage() problem



From: Steve Dekorte [mailto:steve@dekorte.com]
> I'm using the following code to read a tiff and get
> RGBA data, but when I display the result it appears
> to have the proper red values, but the green and blue
> are all set to 255. Am I doing something wrong?

Just a guess: your byte array seems to be of type char*. Is it possible that you forget to cast byteArray to uint32 before accessing?

PS: this list is alive, but there is not much traffic on it - especially on Sundays. Seems we all have family ...


To subscribe or unsubscribe email tiff-request@olympiakos.com with subscribe
or unsubscribe in the email body.  Libtiff home page: http://www.libtiff.org

