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
April 2009

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

2009.04.06 15:35 "Writing tiff to in-memory buffer", by Christian Henning
2009.04.06 16:30 "Re: Writing tiff to in-memory buffer", by Bob Friesenhahn
2009.04.06 18:10 "Re: Writing tiff to in-memory buffer", by Christian Henning
2009.04.06 18:45 "Re: Writing tiff to in-memory buffer", by Bob Friesenhahn
2009.04.07 13:44 "Re: Writing tiff to in-memory buffer", by Christian Henning
2009.04.07 14:13 "Re: Writing tiff to in-memory buffer", by Edward Lam
2009.04.07 15:35 "Re: Writing tiff to in-memory buffer", by Bob Friesenhahn
2009.04.07 15:56 "Re: Writing tiff to in-memory buffer", by Christian Henning

2009.04.06 18:45 "Re: Writing tiff to in-memory buffer", by Bob Friesenhahn

On Mon, 6 Apr 2009, Christian Henning wrote:
>>
>> It should be useful to use contrib/stream/tiffstream.cpp from the libtiff
>> source distribution as a reference.  The version which will be included in
>> libtiff4 is updated to standard C++.
>
> Seems I need to recompile libtiff and start debugging. Does the code
> work on your machine?

I don't know if your code would work on my machine and I have also 
never actually tested contrib/stream/tiffstream.cpp.

I am now also reminded that there is a libtiff/tif_stream.cxx which is 
included in libtiff's C++ library.  I have spent some time updating 
this source file for libtiff4 (but without actually testing it).

As far as the viability of TIFFClientOpen() goes, GraphicsMagick has 
been using it for many years without any problems.

The error message you are seeing suggests that libtiff requests to 
read back from the file it is writing and perhaps your wrapper 
functions do not adequately support this.

Bob
--
Bob Friesenhahn
bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/