| AWARE [SYSTEMS] | Imaging expertise for the Delphi developer | |||||||
![]() |
TIFF and LibTiff Mailing List Archive | |||||||
LibTiff Mailing List
TIFF and LibTiff Mailing List Archive Contact
The TIFF Mailing List Homepage |
Thread2009.02.16 12:03 "Re: Different output with the same image???", by Gerben Vosblp330 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. |
|||||||