开发者

Edit Metadata of PDF File with C/C++?

Could开发者_C百科 anyone please provide me a sample C/C++ code to read and edit PDF Metadata?

If it is XMP, what else to do?


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.


https://github.com/hfiguiere/exempi -- C-library to read and write XMP.


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.


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜