86
How to remove tracking metadata from my PDF
(reddthat.com)
1. Posts must be related to the discussion of digital piracy
2. Don't request invites, trade, sell, or self-promote
3. Don't request or link to specific pirated titles, including DMs
4. Don't submit low-quality posts, be entitled, or harass others
📜 c/Piracy Wiki (Community Edition):
💰 Please help cover server costs.
Ko-fi | Liberapay |
I would try reprinting the PDFs and comparing the hashes afterwards. That should remove any metadata in the headers as new headers are created.
That wouldn't work for something like Pathfinder PDFs from the Paizo website. They add a text watermark with the name and email associated with your account on their site to each page of the document. It's not metadata, it's actual data
Why would the checksum differ between downloads if there was a watermark with user identifiable data
Just checked one of my Paizo pdfs and in addition to my account name and email address it also has the datetime that I downloaded the pdf written in the watermark. Presumably because they append the file creation time when the pdf is being signed
Fair, then reprinting won't help. I'd go ahead and come up with some Python script which exported all pages as png, edited that specific portion of every image and recompile it to a pdf. I'm not sure if there is a too which could already do that out-of-the-box.
Unfortunately then you lose things like text and links. I think the only real solution for my specific example (which to be clear, might not be OP's dilemma) is to crack and directly edit the binary data of the PDF file