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

Implement watermark management #2

Open
rascasoft opened this issue Jan 27, 2023 · 0 comments
Open

Implement watermark management #2

rascasoft opened this issue Jan 27, 2023 · 0 comments
Assignees

Comments

@rascasoft
Copy link
Member

Today it is possible to apply a text to a generated pdf by using these commands:

WATERMARK="Tue Jan 24 05:25:50 PM CET 2023
For use by Customer
Copyright © 2023 MiaMammaUsaLinux.org"

convert -font Arial -pointsize 38 -gravity center -size 1920x1080 xc:transparent -fill lightgray -annotate 270x270+800+0 "$WATERMARK" slides/watermark.png

img2pdf slides/watermark.png -o slides/watermark.pdf

qpdf --overlay slides/watermark.pdf --repeat=1 -- slides/slides.pdf slides/slides.wm.pdf

This could be somehow included in the playbook.

@rascasoft rascasoft self-assigned this Jan 27, 2023
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

1 participant