setpdfbackground(1p)

setpdfbackground1p

Apply a background color to a pdf page

Usage

setpdfbackground [options] file.pdf pagenum color [outfile]

Options: -o --order preserve the internal PDF ordering for output -v --verbose print the internal representation of the PDF -h --help verbose help message -V --version print CAM::PDF version

Overview

This program alters a PDF document to add a solid background color behind the page contents.

Caveats

Some PDF creation programs assume a white background and draw bogus white rectangles all over the screen that you usually cannot see. If your PDF has such rectangles, you can sometimes fix it, but it is a pain. The best recommendation is to recreate the original PDF using a smarter library, if possible. Alternatively, you can contact Clotho Advanced Media for a commercial solution to this problem.

Credit

This feature was originally requested by Brent Cowgill.

Releases

6 releases since Debian 8 (Jessie); the text changed 2 times.

  1. 8
  2. 9–11
  3. 12–13

Author

See CAM::PDF

From libcam-pdf-perl 1.60-5 in Debian 13 (Trixie). Parsed by carta from the page's man source.