| 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 |
Thread2000.04.28 14:25 "Re: Opening from fd", by Frank WarmerdamArnar Mar Hrafnkelsson wrote: > > I'm using v3.5.4 of libtiff. The manpage for > TIFFFdOpen says that I have to give the function the correct > filename and mode the file is opened in. I can understand the mode is > needed but I do not see why the filename is needed. > > TIFF* TIFFFdOpen(const int fd, const char* filename, const char* mode) > > It's similar for the clientopen function. It's even possible in those > cases that no file exists on disk and never has or will. What happens if > I just give it some nonexistant filename? Arnar, A quick scan of the code suggests the name is just used for warning and error messages. For virtual files, just supply some helpful text for the user. Later, ---------------------------------------+-------------------------------------- I set the clouds in motion - turn up | Frank Warmerdam, warmerda@home.com light and sound - activate the windows | http://members.home.com/warmerda and watch the world go round - Rush | Geospatial Programmer for Rent |
|||||||