AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2012.02.18 22:46 "[Tiff] libtiff 4.0.1 and 3.9.6 released", by Bob Friesenhahn
2012.02.22 12:45 "Re: [Tiff] libtiff 4.0.1 and 3.9.6 released", by Jay Berkenbilt
2012.03.27 23:20 "Re: [Tiff] Question about TAG_BITSPERSAMPLE", by Steve McKinney
2012.03.27 22:15 "[Tiff] Question about TAG_BITSPERSAMPLE", by Steve McKinney
2012.03.27 23:02 "Re: [Tiff] Question about TAG_BITSPERSAMPLE", by Bob Friesenhahn
2012.03.27 23:28 "Re: [Tiff] Question about TAG_BITSPERSAMPLE", by Bob Friesenhahn
2012.03.28 00:44 "Re: [Tiff] Question about TAG_BITSPERSAMPLE", by Daniel McCoy

2012.03.27 23:20 "Re: [Tiff] Question about TAG_BITSPERSAMPLE", by Steve McKinney

Bob,

Thanks for the speedy response. I can work around the lack of support for differing sample sizes, just wanted to make sure I wasn't missing something before proceeding.

Steve

-----Original Message-----
From: Bob Friesenhahn [mailto:bfriesen@simple.dallas.tx.us]
Sent: Tuesday, March 27, 2012 4:03 PM
To: Steve McKinney
Cc: tiff@lists.maptools.org

Subject: Re: [Tiff] Question about TAG_BITSPERSAMPLE

On Tue, 27 Mar 2012, Steve McKinney wrote:

> The TIFF spec defines the BitsPerSample tag as an array of unsigned > short integer values with a size of SamplesPerPixel, so each sample

> may hypothetically have a different size.  AFAICT, Libtiff, however, > appears to only support a single unsigned short integer value when setting TAG_BITSPERSAMPLE.  Is this correct?  Does Libtiff assume / require that all

samples must be the same size?

Libtiff does require that all samples be the same size.

Bob
--
Bob Friesenhahn
bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer, http://www.GraphicsMagick.org/