galkahana / HummusJS

Node.js module for high performance creation, modification and parsing of PDF files and streams
http://www.pdfhummus.com
Other
1.14k stars 169 forks source link

Add watermarking example #244

Open richard-kurtosys opened 6 years ago

richard-kurtosys commented 6 years ago

This example writes a transparent watermark/stamp across every page in the supplied pdf. It writes the watermark from the bottom left to the top right at the fontSize specified. If it is calculated that the text is too long to fit then the font size is reduced.

chunyenHuang commented 6 years ago

Original ticket #242 Add transparent text overlay (stamp) to existing PDF