1998.05.13 08:33 "Re: Reading concatenated tiff files", by Bjorn Brox
I'm thinking about using concatenated tiff files as a simple movie
process doesn't seem to work. I'm reasonably confident that the parser is doing the correct thing, and I suspect that the TIFF i/o routines are reseting the file descriptors to the start of the file. (The error message is "Can not read TIFF directory.")
Write your own tiffReadProc, tiffWriteProc, tiffSeekProc, tiffCloseProc, tiffSizeProc etc. and use TIFFClientOpen()
These functions should keep track on which tiff file you are accessing and for example your tiffSeekProc should add an offset into the real file and so on.
I have done a similar job on accessing files that is loaded into memory from a database where my tiff*Proc functions emulates file IO.
Bjorn Brox, mailto:firstname.lastname@example.org, CORENA A/S, http://www.corena.no/
P.O.Box 1024, Kongsberg Naeringspark, N-3601 Kongsberg, NORWAY
Phone: +47 32737435, Fax: +47 32736877, Mobile: +47 92638590