Reputation
Top tag
Next privilege 10,000 Rep.
Access moderator tools
Badges
1 21 42
Newest
 Good Answer
Impact
~1.0m people reached

Oct
8
revised How can I programmatically change/protect text contents in a PDF so it's no longer copyable text?
added 162 characters in body
Oct
8
revised How can I programmatically change/protect text contents in a PDF so it's no longer copyable text?
Not only 'rasterization' will achieve the goal -- 'vectorization' also will!
Oct
8
comment How can I programmatically change/protect text contents in a PDF so it's no longer copyable text?
@JakeGould: I still upvoted your post, even though I criticized it :-)
Oct
8
comment How can I programmatically change/protect text contents in a PDF so it's no longer copyable text?
@JakeGould: You're wincing about pdftk is in vain... :-) -- pdftk is a command line tool that does NOT need an installed Java environment at runtime (only at build time)!
Oct
8
comment How can I programmatically change/protect text contents in a PDF so it's no longer copyable text?
@UserZer0: You imagine that 'password protecting' PDFs is requiring users to know and type in the password whenever they view the document. This imagination is not matched by reality. You can use an empty password. Viewers will not ask for the password when opening the PDF for viewing then. They will only ask for it, as soon as the user attempts to print or to copy or to do whatever is 'protected'. (This 'encryption' can of course be easily circumvented. But the same is true for your preferred method of pixelization of the pages...)
Oct
8
comment How can I programmatically change/protect text contents in a PDF so it's no longer copyable text?
@JakeGould: Your answer work, but it's method is overly complicated. It's better to use ImageMagick's convert (which employs a Ghostscript delegate anyway for PDF interpreting) for direct PDF-to-PDF conversion: convert vector.pdf rasterized.pdf will output all pages of input vector.pdf as rasterized.pdf where all pages are made up of images with the default resolution of 72 PPI. To get a higher resolution in the output of say, 200 PPI, simply add -density 200...
Oct
8
revised How can I programmatically change/protect text contents in a PDF so it's no longer copyable text?
Added a few screenshots
Oct
8
answered How can I programmatically change/protect text contents in a PDF so it's no longer copyable text?
Sep
30
awarded  Explainer
Sep
24
awarded  Autobiographer
Sep
17
awarded  Nice Answer
Sep
11
awarded  Enlightened
Sep
11
awarded  Nice Answer
Jun
27
awarded  Nice Answer
Jun
24
awarded  Yearling
May
19
awarded  Revival
May
16
comment How to extract image from PDF file
@BurhanKhalid: Pre-built binaries are here: sourceforge.net/projects/poppler-win32
Mar
13
awarded  Nice Answer
Feb
11
revised How to extract image from PDF file
edited body
Feb
11
revised How to extract image from PDF file
Comment on ComFreek's edits