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
December 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.12.16 10:14 "Order of Image IFD and Strip Data", by Anurag Singh
2006.12.19 13:24 "Re: Order of Image IFD and Strip Data", by Anurag Singh
2006.12.19 13:59 "Re: Order of Image IFD and Strip Data", by Joris Van Damme
2006.12.19 15:48 "Re: Order of Image IFD and Strip Data", by Gerben Vos
2006.12.20 01:22 "Re: Order of Image IFD and Strip Data", by Frank Warmerdam
2006.12.22 16:37 "Re: Order of Image IFD and Strip Data (Joris)", by Priyanshu Sharma
2006.12.23 06:01 "Re: Order of Image IFD and Strip Data (Joris)", by Anurag Singh
2006.12.23 15:05 "Re: Order of Image IFD and Strip Data (Joris)", by Priyanshu Sharma

2006.12.19 13:59 "Re: Order of Image IFD and Strip Data", by Joris Van Damme

Anurag,

Anurag Singh wrote:
> Please help me, it's really very important for me to know that is
> there any posibility to specify order. I had already read
> tif_open.c but didn't get such kind of option. Please tell me about
> the possibility.

There is no such possibility to the best of my knowledge.

You keep asking for support for operations on TIFF that totally go
against the spirit of TIFF. TIFF has no concept of order of data blocks,
all blocks are relocatable, thus two files with the exact same blocks in
a different order, are exactly the same TIFF. Even if someone would be
willing to add the requested functionality and let you determine the
order of blocks, I'd vote against any such code in LibTiff.

Suppose you'd find support to do this. Next, you'll be faced with TIFF
files with 'holes' in them that are a consequence of 'deleting' IFDs or
'updating' tag data or such, i.e. spaces in the file that are not
pointed to. You'll be asking for support for copying meaningless
garbage.

Suppose you'd find support to deal with that, too. Next, you'll be faced
with TIFF files of writers that don't align properly, i.e. don't start
separate blocks of data on mulitples of 2 or 4 bytes. And you'll be
asking for support to misalign.

The mess is endless. If you want to work with TIFF, understand and
comply with its spirit, because its spirit is a consistent whole and any
violation of it results in an avalanche of problems, many of which you
will not be able to foresee.

I've said this before, like I asked you before to quote properly and
post plain text only. If you want someone's help, it's a good idea to
try and understand their replies. If you don't agree with those replies,
well, then feel free to disagree, and bare the consequences that I'm
sure you fully thought through.


Best regards,

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