RE: Changing Color of a PDF page

"Aqua" <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.pdfapi2
Message-ID <[email protected]>
Just wondering if it is possible to change the color of an existing PDF
using API2? (For eg text color Black to Blue) Any pointers please..

Regards

Dominic

  -----Original Message-----
  From: [email protected]
[mailto:[email protected]]On Behalf Of Aqua
  Sent: Wednesday, August 01, 2007 8:40 PM
  To: Perl-Text-Pdf-Modules
  Subject: [perl-text-pdf-modules] Changing Color of a PDF page



  Dear Group,

  I am trying the following code

  use PDF::API2;
  $in_pdf = PDF::API2->open('input.pdf');
  for my $p (1 .. 4) {
  my $in_page = $in_pdf->openpage($p);
  ?change the color of the entire page
  }
  $in_pdf->saveas("DDD.pdf");
  $in_pdf->end();

  How do I change the whole page color (image, text, etc)?

  Appreciate any pointers.

  Best Regards
  Dominic
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.