AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
March 2004

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

2004.03.15 23:58 "libtiff and streams", by Dimitar Gospodinov
2004.03.16 00:14 "Re: libtiff and streams", by Bob Friesenhahn
2004.03.16 00:43 "Re: libtiff and streams", by Joris Van Damme
2004.03.16 01:38 "Re: libtiff and streams", by Dimitar Gospodinov
2004.03.16 02:08 "Re: libtiff and streams", by Joris Van Damme
2004.03.16 06:56 "Re: libtiff and streams", by Andrey Kiselev
2004.03.16 12:16 "Re: libtiff and streams", by <d_sf@cox.net>
2004.03.16 04:30 "Re: libtiff and streams", by Frank Warmerdam
2004.03.16 08:00 "Re: libtiff and streams", by Rob Tillaart
2004.03.16 08:25 "Re: libtiff and streams", by Andrey Kiselev

2004.03.16 00:14 "Re: libtiff and streams", by Bob Friesenhahn

On 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