1999.11.29 18:51 "Re: 2-4 GB TIFF Files", by Peter Smith
I have made the 4Gb file fix for the win32 build. I haven't yet submitted the changes for general distribution, due mainly to time constraints. Some OS specific routines need to be modified as well as other generic routines.
I only work with win32 at this point, so I can't test the changes on other OS's. Anyways, the changes I made are detailed in the attached file. Here is an overview of what I did:
- added an unsigned version of toff_t, toffu_t, and changed all references to toff_t to toffu_t
- changed _tiffSeekProc() in win32.c to accept 32 bit unsigned offset
- changed a negative relative seek in TiffLinkDirectory() to an absolute seek
The amount of testing I've done is limited, restricted to reading bilevel files with G4, G3, and Packbits compression and no compression.
Peter
Attachment Converted: "C:\Eudora\Attach\4GbChanges.txt"
-----------------------------------------------------------------
Peter Smith
mailto:plsmith@island.net
mailto:psmith@creo.com (forwarded directly to the above address)
Phone: 250-285-2294