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
February 2009

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

2009.02.14 11:55 "Different output with the same image???", by <blp330@msn.com>
2009.02.14 15:55 "Re: Different output with the same image???", by <blp330@msn.com>
2009.02.16 12:03 "Re: Different output with the same image???", by Gerben Vos
2009.02.16 15:10 "Re: Different output with the same image???", by Bob Friesenhahn

2009.02.16 12:03 "Re: Different output with the same image???", by Gerben Vos

blp330 wrote:

> Here is two tiff that generated by the same image but different
> output:

> The only one byte different is in position 0x5d0d One is 0x5C, another
> one is 0x00

This is a padding byte, after the image data but before the IFD
(directory), because the IFD must always start at a two-byte-aligned
offset. Its value does not affect the meaning of the TIFF.

Did you write this image using libtiff? It would be best if libtiff
would always write bytes like this with a zero value, so I would
consider this a (minor) bug. (Never write data from uninitialized
buffers, to prevent data leakage and security/privacy issues and all
that stuff.)

					Gerben Vos.