next up previous contents index
Next: Stamp Text, Dates and Up: Watermarks and Stamps Previous: Watermarks and Stamps   Contents   Index

Add a Watermark or Logo

The -stamp-on and -stamp-under operations stamp the first page of a source PDF onto or under each page in the given range of the input file. For example,

stamps the file logo.pdf onto the odd pages of in.pdf, writing to out.pdf. A watermark should go underneath each page:

The position commands in Section [*] can be used to locate the stamp more precisely (they are calculated relative to the crop box of the stamp). Or, preprocess the stamp with -shift first.

The -scale-stamp-to-fit option can be added to scale the stamp to fit the page before applying it. The use of positioning commands together with -scale-stamp-to-fit is not recommended.

The -combine-pages operation takes two PDF files and stamps each page of one over each page of the other. The length of the output is the same as the length of the ``under'' file. For instance:

Page attributes (such as the display rotation) are taken from the ``under'' file. For best results, remove any rotation differences in the two files using -upright first.


next up previous contents index
Next: Stamp Text, Dates and Up: Watermarks and Stamps Previous: Watermarks and Stamps   Contents   Index
root 2014-11-28