/pdfnet-alter-xmp-example

Demonstrates how to use @pdftron/pdfnet-node to alter the XMP of a PDF

Primary LanguageJavaScript

Using PDFNet to Alter the XMP Metadata of a PDF

This repository demonstrates how to leverage @pdftron/pdfnet-node to alter the XMP Metadata of a PDF, ensuring that when properties of a document are changed, such as Title and Subject, they are reflected in the resulting PDF/A file that is outputted.

Requirements

This repository has been written in Node 12.18.3, but other versions of NodeJS may work.

git clone git@github.com:CorreyL/pdfnet-alter-xmp-example.git
cd pdfnet-alter-xmp-example
npm install
npm start