Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Corrupt PDF after flatten #60

Closed
tdgvrr opened this issue Jan 11, 2017 · 1 comment
Closed

Corrupt PDF after flatten #60

tdgvrr opened this issue Jan 11, 2017 · 1 comment

Comments

@tdgvrr
Copy link

tdgvrr commented Jan 11, 2017

I have a PDF containing form elements that I've processed using this command:

pdftk input.pdf output output.pdf flatten

It seems to work properly, but I can't read the resulting output PDF in Adobe Acrobat on MacOS X (Acrobat version is 15.20.20042.205528). When opening the file, Acrobat complains

"An error exists on this page. Acrobat may not display the page correctly. Please contact the person who created the PDF document to correct the problem.".

The PDF displays somewhat properly, except that form fields that were updated in the original PDF seem to be missing.

The output PDF does display correctly in the OS X "Preview" app.

Is there perhaps something else I need to do to "flatten" the PDF?

@jkraemer
Copy link
Owner

sorry I have no idea. This appears to be more of a pdftk problem, did you try contacting the guys over at pdflabs.com?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants