2006.10.20 19:46 "Re: [Tiff] Modify XMP", by Chris Cox
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.
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).
On 10/20/06 8:38 AM, "Jeremy March" <firstname.lastname@example.org> wrote:
I am a new user to libtiff. The task I hope to accomplish is simply to modify the XMP metadata of a TIFF leaving the other parts of the file completely unchanged. But I understand that libtiff will ignore any custom tags which might be in the TIFF. And I have seen warnings in this mailing list about the 'blind copying of tags'. So my concern is that while I am reconstructing the other (non-XMP) portions of the original TIFF, that any custom tags might be left out. Could the list recommend an approach to solving my problem?
Thanks very much,