AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2000.03.22 20:14 "Reading 8-bit grayscale format", by Brent Yorgey
2000.03.23 06:24 "Re: Reading 8-bit grayscale format", by

2000.03.22 20:14 "Reading 8-bit grayscale format", by Brent Yorgey

I am using libtiff v3.4 on Win95, with MSVC++. I have a number of TIFF images which are uncompressed 8-bit grayscale. Is there an easy way to read images in this format using libtiff? I would like to be able to do some low-level processing of the data and then write the data back out in a compressed format. I have been able to read the data in using TIFFReadRGBAImage and then converting back to an 8-bit format, but I'm sure there has got to be a much better way to do this, and I still don't know how to write the data back to a file in any case.

Please excuse my ignorance -- thanks for any help anyone can give me!

--Brent Yorgey
brentyorgey@hotmail.com
______________________________________________________

Get Your Private, Free Email at http://www.hotmail.com