AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
April 2006

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



Thread

2006.04.04 16:50 "BigTIFF Suggestion", by Larry Michaels
2006.04.04 21:33 "Re: BigTIFF Suggestion", by Chris Cox
2006.04.04 21:56 "Re: BigTIFF Suggestion", by Joris Van Damme
2006.04.05 01:59 "Re: BigTIFF Suggestion", by Bob Friesenhahn
2006.04.05 02:22 "Re: BigTIFF Suggestion", by Joris Van Damme
2006.04.06 09:46 "Re: BigTIFF Suggestion", by Gerben Vos
2006.04.06 15:11 "Re: BigTIFF Suggestion", by Bob Friesenhahn
2006.04.14 17:44 "Re: BigTIFF Suggestion", by <melser.anton@gmail.com>
2006.04.14 18:13 "Re: BigTIFF Suggestion", by Joris Van Damme
2006.04.15 10:18 "Re: BigTIFF Suggestion", by <melser.anton@gmail.com>
2006.04.04 22:09 "Re: BigTIFF Suggestion", by Frank Warmerdam
2006.04.04 22:14 "Re: BigTIFF Suggestion", by Larry Michaels
2006.04.04 22:24 "Re: BigTIFF Suggestion", by Joris Van Damme
2006.04.04 22:34 "Re: BigTIFF Suggestion", by Larry Michaels
2006.04.04 22:42 "Re: BigTIFF Suggestion", by Joris Van Damme
2006.04.04 23:07 "Re: BigTIFF Suggestion", by Larry Michaels
2006.04.05 00:17 "Re: BigTIFF Suggestion", by Joris Van Damme
2006.04.05 02:25 "Re: BigTIFF Suggestion", by Joris Van Damme
2006.04.05 11:12 "Re: BigTIFF Suggestion", by Leonard Rosenthol
2006.04.05 16:13 "Re: BigTIFF Suggestion", by Bill Bither

2006.04.04 22:42 "Re: BigTIFF Suggestion", by Joris Van Damme

Larry,

Please keep stuff on the list... You are likely not unique in this
situation.

Larry Michaels wrote:
> I currently keep the offset of the last IFD in memory as long as I
> have a particular TIFF open and use and update that offset value when
> I append an image.  The main challenge is determining that offset
> value when I first open the file without having to do hundreds or
> thousands of seeks.  I therefore started writing the offset value,
> along with a signature and CRC, to the end of the TIFF file, so that
> as long as I am opening a file which my app created, I will find that
> offset.

Dangerous tactics. I would really recommend you write that stuff in a
seperate file, like Frank and I suggested. Also, consider not using the
CRC, as that implies you scan through the complete file anyway, but a
file size and date. (OK, agreed, that is dangerous too...)

Maybe you ought to look at other file formats? Like I said, TIFF's
strong point is its simplicity. That is also its weakness, as is
continuously proven when needs like yours arise. PDF's weak point is its
elaborate complexity. But that is also its main strength, and your need
might prove that too. I'm not a PDF expert, but if I remember correctly,
PDF can contain a sortoff hash table for page offsets, that allows you
to quickly locate last page and all. In addition to that, PDF is also
very suitable for update as opposed to rewrite. I don't think there's a
lot of processing required to append a page to a 10.000 page PDF. But
I'm no PDF expert, I could be mistaking.


Joris Van Damme
info@awaresystems.be
http://www.awaresystems.be/
Download your free TIFF tag viewer for windows here:
http://www.awaresystems.be/imaging/tiff/astifftagviewer.html