| 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.03.16 00:14 "Re: libtiff and streams", by Bob FriesenhahnOn Mon, 15 Mar 2004, Dimitar Gospodinov wrote: > > How difficult would be to modify libtiff to support streams-like operations? > Having random access files is not always possible - for example when > reading from sockets, the file size is unknown. > One of the things that should change, if streams are to be supported, is > get file size functions. They can not be used. > > Do you think this is an easy change? For example using new switch for > "stream i/o"? Support for non-seekable streams would certainly be very desirable from the API user's perspective. In GraphicsMagick we currently must create a temporary file if the input is from a non-seekable stream. Doing so is painful. Unfortunately, libtiff supports random I/O of tiles and strips so it seems very difficult to support streams unless a temporary file is automatically created under the covers. Bob ====================================== Bob Friesenhahn bfriesen@simple.dallas.tx.us http://www.simplesystems.org/users/bfriesen |
|||||||