2003.09.02 05:46 "[Tiff] Reading and writing to memory.", by Väinö Järvelä
There are indeed fairly detailed semantics required of the IO functions. I don't know that these assumptions are well documented anywhere. You might be best off reviewing existing low level implementations carefully if you want to make your own.
I'll have to do that, yes.
There are already at least two memory based TIFF implementations for libtiff. in contrib/mfs there is one. I also have one I use as part of GDAL, based loosely on mfs.
I'll check them out for anything that i might have missed in my implementation. Thanks.
I can't help but wonder though if your overall approach is appropriate. Why is it that you need to hold your whole image in memory? Why not operate on the image in chunks as Pushkar suggests?
Replied to Pushkar.