Could not find how to do it with qpdf
or pdftk
or even a gui tool.
Edit:
Solution pdftk A=oldpdf.pdf cat A output newpdf.pdf
This removes all metadata and also the attachments.
Could not find how to do it with qpdf
or pdftk
or even a gui tool.
Edit:
Solution pdftk A=oldpdf.pdf cat A output newpdf.pdf
This removes all metadata and also the attachments.
https://stackoverflow.com/questions/20676707/remove-delete-all-images-from-a-pdf-using-ghostscript-or-imagemagick
gs -o noimage.pdf -sDEVICE=pdfwrite -dFILTERIMAGE input.pdf
can’t test it right now though.