GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
SETPDFBACKGROUND(1) User Contributed Perl Documentation SETPDFBACKGROUND(1)

setpdfbackground.pl - Apply a background color to a PDF page

 setpdfbackground.pl [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

The "color" is specified as 3 or 6 character hexadecimal RGB. For example, "f00" and "ff0000" both mean pure red while 999 and 999999 both mean medium gray.

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

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.

This feature was originally requested by Brent Cowgill.

CAM::PDF

rewritepdf.pl

See CAM::PDF
2013-08-15 perl v5.32.1

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.