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

Resulting PDF is editable in Acrobat Pro #146

Open
utdrmac opened this issue May 2, 2018 · 1 comment
Open

Resulting PDF is editable in Acrobat Pro #146

utdrmac opened this issue May 2, 2018 · 1 comment
Labels

Comments

@utdrmac
Copy link

utdrmac commented May 2, 2018

I used a PNG image, CSS, and a DIV tag to create an image-based watermark:

#watermark {
      background: url(../../share/images/do-not-distribute-watermark.png) no-repeat;
      top: 400px;
      left: 75px;
      width: 750px;
      height: 200px;
      position: absolute;
    }
...
<div id="watermark"></div>

The resulting PDF can be opened in Acrobat pro and the div/text can simply be deleted and re-saved.

I was expecting the option --screenshots to save each slide as a PNG and then create a PDF of all those PNGs. But that is not the functionality you get.

Does anyone have insight to create PDFs that are un-editable in this way with Acrobat Pro?

@astefanutti
Copy link
Owner

The --screenshots option is to export slides as images and does not change the PDF output.

The produced PDF does not have any protection so it is expected it is possible to edit it.

It may be possible to add the ability to set the protection level and / or the document metadata, though it may be argued to be outside of the scope of Decktape.

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

No branches or pull requests

2 participants