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
October 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.10.20 15:38 "Modify XMP", by Jeremy March
2006.10.20 16:25 "Re: Modify XMP", by Phil Harvey
2006.10.20 19:46 "Re: Modify XMP", by Chris Cox
2006.10.21 23:10 "Re: Modify XMP", by Phil Harvey

2006.10.21 23:10 "Re: Modify XMP", by Phil Harvey

Chris wrote:
> XMP blocks includes a small buffer space for in place modifications  
> If your
> changes fit in that space, you can modify the XMP data without 
> disturbing
> the rest of the file.

This is true.  The XMP specification recommends a few kB worth of blank 
lines, which can be used in a TIFF file since there is no checksum 
done.

> If your modifications donšt fit in that space, you would have to read 
> and
> rewrite the TIFF, or use a TIFF specific modification to move the XMP 
> block
> to the end of the file while leaving everything else in place (and an 
> unused
> space where the old XMP block was).

This is one of the tricks.  However, it isn't 100% foolproof since it 
may result in the loss of information in certain types of trailers (ie. 
AFCP) which may be appended to the end of a TIFF file.

	- Phil