qpdf / qpdf

qpdf: A content-preserving PDF document transformer
https://qpdf.sourceforge.io/
Apache License 2.0
3.43k stars 271 forks source link

How to remove PDF/A-standard from a PDF-file? #845

Open roboterwithsenf opened 1 year ago

roboterwithsenf commented 1 year ago

I have a pdf-file which is saved in the PDF/A-standard. I know how to work and ignore this standard with Adobe Acrobat, but I'd rather would like to remove the PDF/A-standard informations completely from the file and save it as an "regular" PDF-document whithout this informations. Is there any possibility with qpdf to do this?

jberkenbilt commented 1 year ago

I'm not sure I know what you're actually looking to do here. a PDF/A file is a normal PDF file that has additional information in it. I'm not familiar with the details of the PDF/A standard (other than knowing what it is and what its purpose is), so I'm not sure what would be involved in removing the extras. Can you share your use case? It might help me understand. Is the PDF/A information causing a problem in some way?

roboterwithsenf commented 1 year ago

I guess: if I save a PDF file in the PDF/A standard the program used stores a checksum in the file. So everybody can proof if changes were made. If I edit this PDF document with qpdf the stored checksum doesn't fit anymore. So I would like to get this - for me now useless - information out of the document.