AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2004.09.08 02:15 "[Tiff] TIFF Property Sheet Shell Extension beta", by Ross A. Finlayson
[...]
2004.09.16 19:12 "[Tiff] BigTIFF Tag Value Count issue", by Joris
2004.09.16 19:23 "Re: [Tiff] BigTIFF Tag Value Count issue", by Frank Warmerdam
2004.09.17 00:09 "Re: [Tiff] BigTIFF Tag Value Count issue", by Bob Friesenhahn
2004.09.19 12:31 "Re: [Tiff] BigTIFF Tag Value Count issue", by Andrey Kiselev
2004.09.19 16:43 "Re: [Tiff] BigTIFF Tag Value Count issue", by Joris
[...]

2004.09.17 00:09 "Re: [Tiff] BigTIFF Tag Value Count issue", by Bob Friesenhahn

Argument pro 4 bytes is that this keeps all 8 byte values in the TIFF file perfectly aligned on multiples of 8.

This may be a poor argument, since alignment inside a file really might not be

that important.

My opinion on this is that alignment inside a file is just as important/useful as alignment in memory since the file may be memory mapped, and then all the limitations which apply to memory access also apply to file access via that memory map.

It is not necessary to declare that at the value needs to be 8 bytes in order to accomplish desired alignment since you can simply add in 4 unused

pad bytes.

Bob
======================================
Bob Friesenhahn
bfriesen@simple.dallas.tx.us
http://www.simplesystems.org/users/bfriesen