pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roberto Nibali <rnib...@gmail.com>
Subject Remove document information from PDF
Date Wed, 26 Aug 2015 22:58:57 GMT
Hi

How can I remove the document information part from a PDF programmatically?
Example:

22 0 obj
<< /Creator (sdjlkadld)
   /Producer (ldksa ls dkalksdj alksd as dlaks dlaskd laskd  sdlak dl)
   /Title (skls  lsdk sd lskd sld)
   /Author (iwej wej wek elwe)
   /Subject (ad lskd jlakd jlaksd l)
   /Keywords (saldkjas dlaks dlas dlaskd laskdlas dls dalsk dk)
>>
endobj
trailer
<< /Size 24
   /Root 23 0 R
   /Info 22 0 R
>>

The above only shows the relevant (obfuscated) portion of the PDF, for the
sake of clarity.

Best regards
Roberto

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message