AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2004.11.08 12:48 "[Tiff] Graphics programming with libtiff", by Ngo Vu Anh Tu
2004.11.12 19:17 "Re: [Tiff] Graphics programming with libtiff", by Andrey Kiselev
2004.11.12 23:33 "Re: [Tiff] Graphics programming with libtiff", by Bob Friesenhahn

2004.11.12 23:33 "Re: [Tiff] Graphics programming with libtiff", by Bob Friesenhahn

I am now working with tiff images, and I have written some code for working with 8bit grey level TIFF Image and 24 bit colors image. In my code, I use libtiff library to peform some operation on the image. Now I have some problems with 16bits image. Do you mind if telling me about working with 16bit image. The image is large (~20M), and I think it is grey level. Have you ever working with 16bit images? Can you give me some advice that what should I do with 16 bits TIFF image?

Your images are indeed 16-bit grayscale. Libtiff may be used with 16-bit images, but your application will need to parse the scanlines it provides. The simple high-level RGB-style functions can not be used.

GraphicsMagick (http://www.GraphicsMagick.org/) is able to read your images without any problems.

Bob

======================================
Bob Friesenhahn
bfriesen@simple.dallas.tx.us
http://www.simplesystems.org/users/bfriesen