AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2000.11.23 20:06 "Using libtiff without reading from a file", by Wolfram Bettermann
2000.11.23 21:06 "Re: Using libtiff without reading from a file", by Joris Van Damme
2000.11.23 22:00 "Re: Using libtiff without reading from a file", by Alex
2000.11.23 22:16 "Re: Using libtiff without reading from a file", by Joris Van Damme
2000.11.23 23:39 "Re: Using libtiff without reading from a file", by Alex
2000.11.24 04:17 "Re: Using libtiff without reading from a file", by Joris Van Damme
2000.11.24 00:30 "Re: Using libtiff without reading from a file", by Leonard Rosenthol
2000.11.24 16:48 "Re: Using libtiff without reading from a file", by Bob Friesenhahn
2000.11.24 13:32 "Re: [Re: Using libtiff without reading from a file]", by Wolfram Bettermann
2000.11.24 13:52 "Re: [Re: Using libtiff without reading from a file]", by Bjorn Brox

2000.11.23 21:06 "Re: Using libtiff without reading from a file", by Joris Van Damme

Does anyone has an idea to pass the contents of the TIFF image directly to libtiff? I could not find any API functions which does that.

I don't know about RGBA functions, but I guess they also require opening the TIFF 'handle' first... There's TIFFClientOpen, which is perfectly suited for your purposes. It need some pointers to IO functions, and a client 'cookie'. That way, doing IO is up to you, and you're free to read from memory instead.

Joris