| 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 |
Thread2010.12.01 05:15 "Re: Win32 ReadFile() / WriteFile() heads-up", by Bob FriesenhahnOn Tue, 30 Nov 2010, Kevin Myers wrote: > I haven't looked into this very much *at all*, so what I am about to say > could easily be *very* wrong. That being said, wouldn't changing libtiff to > use read() and write() break large file handling (greater than 4GB) under > Win32? If so, that would be a bad thing. It is possible to use read() and write() with large files under Windows. GraphicsMagick does so. It works with Visual C++ but last time I tried with MinGW GCC it did not work because MinGW was not enabling the necessary APIs. As far as libtiff using Windows file APIs goes, it can be "cured" by using TIFFClientOpen() to specify use of the desired file access APIs. This requires writing some tiny I/O wrapper functions. Bob -- Bob Friesenhahn bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/ GraphicsMagick Maintainer, http://www.GraphicsMagick.org/ |
|||||||