[poppler] Remove form and any other scripting from PDF

Daniele Depetrini daniele.depetrini at cp.net
Thu Nov 29 13:46:45 PST 2012


Thanks pointing to this library, even if probably is not what I need.

Cheers,

Daniele.

On 11/29/2012 12:16 PM, Ihar `Philips` Filipau wrote:
> 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 <daniele.depetrini at cp.net> 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.



More information about the poppler mailing list