Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

pdfwatermark

Embed a pdf as background or watermark and place it on each page of another pdf.

How to use

pdfwatermark.py watermark.pdf source.pdf output.pdf

This puts the content of the first page of watermark.pdf in the background of each page of source.pdf. The merged data is written into output.pdf.

Dependencies

Reason for development

Previously we used PDFtk https://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/ for this task. But PDFtk relies on gcj which was deprecated for a long time and is not easily available on current distributions anymore.

So I was looking for a replacement. There are some tools offered as replacement for PDFtk, but most of them don't offer a equivalent of the pdftk "background" command.

Mcpdf offers it, but requires iText which is not easily available on CentOS 7. Adding a background in QPDF is possible, but not easily scriptable.

Alternatives

License

MIT X11 License

About

Embed a pdf as background or watermark and place it on each page of another pdf

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages