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

PDFs with forms #11

Closed
lesolorzanov opened this issue Jun 29, 2024 · 2 comments
Closed

PDFs with forms #11

lesolorzanov opened this issue Jun 29, 2024 · 2 comments

Comments

@lesolorzanov
Copy link

I tried this with a PDF with a form and the form stops working, it is rasterized, I was wondering if this was taken into account. Is pretty nice otherwise.

@svenssonaxel
Copy link
Owner

First, let's clarify:

  • "Rasterize" means to convert to pixel graphics. If you zoom in far enough on something rasterized, you'll see it is pixelated, a less sharp image.
  • "Flatten" means to merge the contents of a PDF form into the document itself, making it non-editable.

pdf-sign should not rasterize anything, if it does then it's a bug. It does however flatten before signing, by design. This is since you usually would not want to change anything in the form after signing, even accidentally. You can turn off flattening with the --no-flatten command-line option.

I noticed that the help text does not inform the user that --flatten is on by default. This should be fixed.

@lesolorzanov Could you clarify if the behavior you see is rasterization or flattening? Did the above explanation help you?

svenssonaxel added a commit that referenced this issue Jul 1, 2024
svenssonaxel added a commit that referenced this issue Jul 12, 2024
Maybe fixes #11.
@svenssonaxel
Copy link
Owner

@lesolorzanov I clarified the help text in the hope of solving this issue. Feel free to reopen if it is not solved.

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