2007.05.30 13:44 "[Tiff] loading tiff image from memory", by Hinrich Aue

2007.05.30 14:52 "Re: [Tiff] loading tiff image from memory", by Bob Friesenhahn

Hello list,

I'm trying to load a tiff image from memory.

From memory means, the complete tiff file has been loaded into a byte buffer.

Is this possible with libtiff? No file access is allowed at this point.

Yes, this is possible. It can be done by using TIFFClientOpen() along with a set of user-provided I/O methods. I think that there are some samples of how to do this provided in the libtiff source package.

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