Hi!
I once used for similar purpose `pdftk uncompress`. Not a library,
yet. It decompresses all the compressed parts so that PDF becomes
(mostly) textual. ("Mostly," because the binary blobs of images and
embedded fonts have to remain binary.) Then textual presentation can
be patched/etc with a program/script and finally compressed back with
`pdftk compress`.
http://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/ or `apt-get install pdftk`
But probably poppler pros would have a better suggestion.
wbr.
On 11/29/12, Daniele Depetrini <[email protected]> wrote:
> Hi All,
>
> For a project I'm working on I need to "sanitize" PDF files: take any
> pdf and remove any eventually present form/scripting from it.
>
> Any idea what's the best way to implement this?
>
> Cheers,
>
> Daniele.
_______________________________________________
poppler mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/poppler