AWARE [SYSTEMS]
AWare Systems, , Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
August 2009

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
Archive maintained by AWare Systems



New Datamatrix section



Valid HTML 4.01!



Thread

2009.08.27 18:13 "Libtiff 4.4.0beta4 Released", by Bob Friesenhahn
2009.08.27 18:35 "Old and New JPEG Compression with Single libtiff?", by Kevin Myers
2009.08.27 19:00 "Re: Old and New JPEG Compression with Single libtiff?", by Bob Friesenhahn
2009.08.27 18:55 "Re: Libtiff 4.4.0beta4 Released", by Edward Lam
2009.08.27 19:07 "Re: Libtiff 4.4.0beta4 Released", by Bob Friesenhahn
2009.08.27 19:14 "Re: Libtiff 4.4.0beta4 Released", by Frank Warmerdam
2009.08.27 19:01 "Re: Libtiff 4.4.0beta4 Released", by Edward Lam
2009.08.27 19:15 "Re: Libtiff 4.4.0beta4 Released", by Bob Friesenhahn

2009.08.27 19:15 "Re: Libtiff 4.4.0beta4 Released", by Bob Friesenhahn

On Thu, 27 Aug 2009, Edward Lam wrote:

> Bob Friesenhahn wrote:
>> The most common problem is with code which
>> assumes that a returned file offset or size can be stored in a 32-bit
>> type.
>
> Are there tag values that have been changed from 32-bit to 64-bit? Does
> it still work if we call something like:
>
>     TIFFSetField(myTiff, TIFFTAG_ROWSPERSTRIP, rowsperstrip);
>
> where rowsperstrip is a 32-bit integer?

TIFFTAG_ROWSPERSTRIP is still limited to 32-bits.  However, tags which 
return file offsets or object sizes are necessarily 64-bits.  These 
tags are 64-bits:

   TIFFTAG_STRIPOFFSETS
   TIFFTAG_STRIPBYTECOUNTS
   TIFFTAG_FREEOFFSETS
   TIFFTAG_FREEBYTECOUNTS
   TIFFTAG_TILEOFFSETS
   TIFFTAG_TILEBYTECOUNTS

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