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
February 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.02.06 21:35 "displaying 12 bit tiff image", by Liliana Resendiz
2004.02.09 09:00 "Re: displaying 12 bit tiff image", by Andrey Kiselev
2004.02.09 15:06 "Re: displaying 12 bit tiff image", by Bob Friesenhahn
2004.02.10 13:32 "Re: displaying 12 bit tiff image", by Liliana Resendiz
2004.02.10 21:41 "Re: displaying 12 bit tiff image", by Chris Cox
2004.02.10 22:30 "Re: displaying 12 bit tiff image", by Liliana Resendiz
2004.02.10 23:05 "Re: displaying 12 bit tiff image", by Bob Friesenhahn
2004.02.10 23:37 "Re: displaying 12 bit tiff image", by Frank Warmerdam
2004.02.11 00:21 "Re: displaying 12 bit tiff image", by Bob Friesenhahn

2004.02.10 23:05 "Re: displaying 12 bit tiff image", by Bob Friesenhahn

On Tue, 10 Feb 2004, Liliana RESENDIZ wrote:

> Well, it is a 12-bit monochrome camera, and the data range is [0,4095], but
> i can't save it into a 12-bit buffer, so i use a 16-bit buffer.
>
> > (although several companies have made the mistake of not scaling --
> > it is spelled out pretty clearly in the TIFF spec.)
>
> ... maybe. But the spec from MIL libraries (from matrox) only has a M_MIL
> format  and "it is use respects the TIFF 6.0 specification". It is not my
> purpose to display the image with the matrox display libraries. And i have
> been tried to display into a TImage.

Unfortunately, the TIFF specification is quite broad. Many things that
TIFF allows you to do are not part of the specification.  There is a
"baseline" specification which specifies what all compliant readers
should support, but once you fall outside of the baseline parts, you
are subject to the whim of the software authors.

It is possible to write software that reads and writes native 12-bit
tiff using libtiff, but it is not pleasant to do so.  Development
GraphicsMagick supports it.  I believe that development ImageMagick
also includes some support for native 12-bit tiff.

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