Open MartinThoma opened 1 year ago
https://unix.stackexchange.com/questions/552452/how-do-i-detect-a-restricted-pdf-using-command-line
Personnally I use this code to remove permissions:
import pypdf www = pypdf.PdfWriter(clone_from="input.pdf") www.write("output.pdf")
https://unix.stackexchange.com/questions/552452/how-do-i-detect-a-restricted-pdf-using-command-line