| 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 22:33 "Re: compatibility patch", by Jeff Breidenbach> > 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 clean and convenient interface. It works great with libtiff on *nix. With the patch, it also works for Win32. > So somehow combining the best of both files. I think we want: > - 4GB files > - memory-mapped files > - the more user-friendly Win32 error handler from tif_win32.c Let's put "consistant calling interfaces between Win32 and Unix" on the list as well. Cheers, Jeff -- Jeff Breidenbach <jbreiden@parc.com> Palo Alto Research Center (PARC) |
|||||||