Message-ID: 37EBFEF2.E57CD734@earthlink.net
To: Mauricio <escarpin@sel.eesc.sc.usp.br>
Subject: Re: Tiff 12 bits/pixels!!!
From: Niles Ritter <ritter@earthlink.net>
Date: Fri, 24 Sep 1999 22:45:06 +0000
CC: tiff@olympiakos.com
References: <37EB6D7F.84BEC0DF@sel.eesc.sc.usp.br>
Sender: owner-tiff@olympiakos.com


Mauricio wrote:

>
> To implement this transformation (12-bit image into data matrix) I must
> know HOW Adobe software saves this TIFF format, I mean I need to know
> the structure used by Adobe on saving the TIFF format when using 12-bit
> grayscale images. For this reason, I?d like to ask you if  you have this
> kind of information or where I can get it.
>

If you have the libtiff utilities (www.libtiff.org) you can run "tiffinfo"
and/or
"tiffdump" on the files to see how they are structured.

The TIFF spec usually recommends packing data into the next larger
power-of-2, so I would be they are actually 16-bit data.

Count yourself lucky; I once had to deal with a totally goofy TIFF
file (I think it was from a government agency) that was 11-bit TIFF,
packed. Just
imagine the fun bit-masking that stuff out....




