meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
linux:multimedia:pdf [2023/08/17 07:52] niziaklinux:multimedia:pdf [2026/02/02 08:25] (current) – [remove all metadata] niziak
Line 3: Line 3:
 ===== Software ===== ===== Software =====
   * ''xournal'' - add notes on PDF documents   * ''xournal'' - add notes on PDF documents
 +
 +===== remove all metadata =====
 +<code bash>
 +mat2 -L --inplace <file.pdf>
 +</code>
  
 ===== remove password ===== ===== remove password =====
Line 10: Line 15:
 qpdf --password-file=- --decrypt encrypted.pdf decrypted.pdf qpdf --password-file=- --decrypt encrypted.pdf decrypted.pdf
 </code> </code>
 +
 +
 +===== attempt to perform an operation not allowed by the security policy =====
 +
 +
 +<code>
 +convert-im6.q16: attempt to perform an operation not allowed by the security policy `PDF' @ error/constitute.c/IsCoderAuthorized/421.
 +</code>
 +
 +Workaround:
 +<code xml /etc/ImageMagick-6/policy.xml>
 +<policy domain="coder" rights="read|write" pattern="PDF" />
 +</code>
 +
 +