AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
November 2004

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

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

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

On Mon, 8 Nov 2004, Ngo Vu Anh Tu wrote:

> Dear Sir/madam,
>
> 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