next up previous contents index
Next: File Attachments Up: Document Information and Metadata Previous: Display Options   Contents   Index


Metadata

PDF files can contain a piece of arbitrary metadata, often in XML format. This is typically stored in an uncompressed stream, so that other applications can read it without having to decode the whole PDF. To set the metadata:
\begin{framed}
\small\verb!cpdf -set-metadata data.xml in.pdf -o out.pdf!
\end{framed}
To remove any metadata:
\begin{framed}
\small\verb!cpdf -remove-metadata in.pdf -o out.pdf!
\end{framed}
To print the current metadata to standard output:
\begin{framed}
\small\verb!cpdf -print-metadata in.pdf!
\end{framed}



root 2008-12-01