2004.09.16 19:12 "[Tiff] BigTIFF Tag Value Count issue", by Joris Van Damme

2004.09.17 21:36 "Re: [Tiff] BigTIFF Tag Value Count issue", by Chris Cox

If I'm not mistaking, on most processors there is a gain from aligning of data, whilst things still work if data is not aligned. Thus, it pays to build

With some processors (particularly RISC type processors), attempting to read unaligned data results in a program crash. Probably Intel x86 is not one of those processors.

For file reading, that shouldn't be an issue. Either you read into a temporary directly, or use a memory map and copy into a temporary (making it easier to byte swap).

Chris