| 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.24 06:33 "Re: compatibility patch", by Andrey KiselevOn Tue, Nov 23, 2004 at 02:33:09PM -0800, 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 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. Ok, that will be useful. I shall incorporate your patch (as an optional feature) in the main trunk. Andrey -- Andrey V. Kiselev Home phone: +7 812 5970603 ICQ# 26871517 |
|||||||