AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2003.01.18 06:03 "TIFFReadRGBAImage() problem", by Steve Dekorte
2003.01.19 09:39 "Re: TIFFReadRGBAImage() problem", by Steve Dekorte
2003.01.19 10:29 "Re: TIFFReadRGBAImage() problem", by Rainer Wiesenfarth
2003.01.19 10:41 "Re: TIFFReadRGBAImage() problem", by Steve Dekorte

2003.01.19 10:29 "Re: TIFFReadRGBAImage() problem", by Rainer Wiesenfarth

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...