| 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 |
Thread2004.11.23 23:16 "Re: compatibility patch", by Bob FriesenhahnOn Tue, 23 Nov 2004, Jeff Breidenbach wrote: > > > But what a problem with the standard tif_win32.c? Your new > > > tif_win32crt.c will be not portable anyway and specific for Windows. > > As stated in the patch, the problem with the standard tif_win32.c > is that I can't make the following call from a windows application: > > fp = fopen( "foo.tif", "rb") > TIFFFdOpen(fileno(fp),"r"); > > This matters because my application only has a file pointer > (FILE *fp) available when it calls libtiff. This is a very It is worth mentioning that file pointers (FILE *fp) are only useful for accessing up to 2GB of data with 32-bit Windows. TIFF files can be as large as 4GB, and the future "Big TIFF" will allow terrabytes. Due to the use of a common kernel DLL and the need for application compatibility across Windows versions, Windows does not offer a large-file compilation option like Unix does. Bob ====================================== Bob Friesenhahn bfriesen@simple.dallas.tx.us http://www.simplesystems.org/users/bfriesen |
|||||||