| AWARE [SYSTEMS] | Imaging expertise for the Delphi developer | |||||||
![]() |
TIFF and LibTiff Mailing List Archive | |||||||
LibTiff Mailing List
TIFF and LibTiff Mailing List Archive Contact
The TIFF Mailing List Homepage |
Thread2009.08.27 19:15 "Re: Libtiff 4.4.0beta4 Released", by Bob FriesenhahnOn 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/ |
|||||||