tags:

views:

347

answers:

3

Could anyone please provide me a sample C/C++ code to read and edit PDF Metadata?

If it is XMP, what else to do?

Thanks, Suranjit Paul

+1  A: 

If it's XMP, I think there's an SDK available from Adobe. But beware, PDF metadata has a long history and isn't only stored in XMP.

You might best be off using a library that allows PDF manipulation. There are several commercial ones available. I have no idea whether there's something usable available for free.

sbi
A: 

If you haven't tried XMPToolkit yet, give it a shot and see if it meets your needs.

Thanks,

Murugesh.

muruge
A: 

The XMP SDK from adobe does not read/write metadata of PDF files. PDF reading/writing is a complicated task. Your best bet is to use a third party PDF library, or commands like pdfleo.

Sherwood Hu