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
June 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.06.07 11:39 "Editing a tiff image using libtiff", by Sachin Garg
2006.06.07 12:51 "Re: Editing a tiff image using libtiff", by Joris Van Damme
2006.06.12 13:59 "Re: Editing a tiff image using libtiff", by Sachin Garg
2006.06.12 15:09 "Re: Editing a tiff image using libtiff", by Joris Van Damme
2006.06.13 07:29 "Re: Editing a tiff image using libtiff", by Rob Van Den Tillaart
2006.06.13 08:32 "Re: Editing a tiff image using libtiff", by Gerben Vos
2006.06.13 08:55 "Re: Editing a tiff image using libtiff", by Rob Van Den Tillaart
2006.06.13 16:04 "Re: Editing a tiff image using libtiff", by Joris Van Damme
2006.06.13 16:02 "Re: Editing a tiff image using libtiff", by Joris Van Damme
2006.06.14 09:08 "Re: Editing a tiff image using libtiff", by Gerben Vos

2006.06.13 16:04 "Re: Editing a tiff image using libtiff", by Joris Van Damme

Gerben,

Gerben Vos wrote:
> > An additional way to handle space is the introduction of an
> > 'alloc-tag'.
> > This tag indicates the size of the 'allocated' block in the file in
> > contrast to the size tag which indicates the count of the bytes
> > used.
>
> There are already the FreeByteOffsets and FreeByteCounts (288 and
> 289) tags for keeping track of unused space. Nothing is specified
> about in which IFD they belong, though (the first? the last? wherever
> you want, and use all of them together?). The spec also says: "not
> recommended for general interchange", probably partly because of
> this, and also because it's not very nice to give someone a
> space-wasting file, I guess :-).

Those tags were an attempt at memory-management, but a bad one, that
gave more trouble then it was worth, and was subsequently abandoned.

One reason why they were trouble, is that, indeed, they violate the
principle of tag scope. There should be no tag that has a logical
meaning outside of the particular IFD it's in. Otherwise, unlinking IFDs
and all that sort of thing becomes unfeasable.


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