J-F-Liu / lopdf

A Rust library for PDF document manipulation.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PDF/A support

xdm67x opened this issue · comments

Hi,

I wanted to know if it's possible currently to save the updated PDF document to PDF/A format?
I can open a PDF/A document, edit it, but when I save it I lost anything related to PDF/A.
Any idea?

Thx!

I'm reopening because when I load a document who is PDF/A1b lopdf removes needed elements to be able to validate the document. I checked with https://bfo.com/blog/2017/11/08/verify_pdfa_online/.

image

It's corrected by using printpdf crate