Page 1 of 1

Write XMP metadata to TIFF

Posted: Tue Aug 17, 2021 10:39 am
by proxess
Is it possible to write XMP metadata to a TIFF file using the GdPicture Imaging SDK? Thanx!

Re: Write XMP metadata to TIFF

Posted: Wed Aug 18, 2021 9:07 am
by Fabio
Hello,

Yes absolutely, PDF and TIF can manage the XMP/XML annotations within their own structure.
For other formats, you will need to save the annotations in a file beside and merge them at the opening of the file through the viewer.

You can use the AnnotationManager class to write annotation within the TIFF file, you can also extract the annotations and save them on an XMP/XML file. Here is the documentation: https://www.gdpicture.com/guides/gdpict ... nager.html

Here are some helpful methods:
https://www.gdpicture.com/guides/gdpict ... omXML.html
https://www.gdpicture.com/guides/gdpict ... onXML.html
https://www.gdpicture.com/guides/gdpict ... ring).html
https://www.gdpicture.com/guides/gdpict ... ring).html

You can also directly write annotations on the file using this kind of method: https://www.gdpicture.com/guides/gdpict ... Annot.html

With best,
Fabio