Thursday, May 16, 2024
27
rated 0 times [  27] [ 0]  / answers: 1 / hits: 9689  / 2 Years ago, fri, july 29, 2022, 3:27:26

I have a PDF that I want to show to someone without giving them the ability to copy it. One possible way would be to convert pages to images, then these back into a PDF. How can I use convert or pdftk or otherwise script? Not GUI.


More From » command-line

 Answers
2

Imagemagick rasterizes everything. You could simply do:



convert -density 200 input.pdf output.pdf


Of course the recipient might decide to run an OCR program on your file. The density parameter sets the resolution expressed as PPI.


[#13154] Saturday, July 30, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
variark

Total Points: 82
Total Questions: 114
Total Answers: 122

Location: Sweden
Member since Mon, May 8, 2023
1 Year ago
;