2005.03.17 01:41 "[Tiff] I/O support for FILE *", by Jeff Breidenbach
Sorry if this has been raised before, but would it be better to have TIFFFILEOpen( FILE*, char* ) instead?
Yes, it would. Portability gets even easier if applications don't need to call fileno (which is part of POSIX.1 but not ANSI C89). There just happens to be longstanding libtiff support for TIFFFdOpen, so I suspect it may be the path of least resistance.
which makes generalising code that needs to support eg. tiff and jpeg a bit more pleasant.
is there any reason not to provide it by default here?
Beats me. It sure would make life simpler for me.
Jeff Breidenbach <email@example.com>
Palo Alto Research Center (PARC)