2012.09.07 11:01 "Re: [Tiff] Managing the buffer", by Joris Van Damme
But I still don't quite see how to do that, is there a routine pass the client allocation routine (in the way you pass file routines to TIFFClientOpen?) I don't see this in the man page you reference.
It's been many years since I fooled around with this, so I really can't remember exactly... But I think LibTiff maintains some global pointers to the allocation routines and such, and you can simply set these pointers to point to your own instead. Take a good look at the implementation of these routines, and/or trace a call to these routines, do some project-wide searches for some of the things you'll find, and such, and I'm sure you'll quickly find out. Next, report back, it's always useful to have good hands-on experience with this stuff documented in the mailing list archive.
And you can off course search this archive yourself, maybe someone already documented quite similar experience. Use the google box on http://www.awaresystems.be/imaging/tiff/tml.html
Joris Van Damme