meta data for this page
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
linux:multimedia:pdf [2022/07/10 17:41] niziak created |
linux:multimedia:pdf [2024/02/27 09:59] (current) niziak |
||
---|---|---|---|
Line 3: | Line 3: | ||
===== Software ===== | ===== Software ===== | ||
* ''xournal'' - add notes on PDF documents | * ''xournal'' - add notes on PDF documents | ||
+ | |||
+ | ===== remove password ===== | ||
+ | |||
+ | <code bash> | ||
+ | sudo apt install qpdf | ||
+ | qpdf --password-file=- --decrypt encrypted.pdf decrypted.pdf | ||
+ | </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> | ||
+ | |||