Cam::PDF question
- From: "LtCommander" <LtCommander@xxxxxxxxx>
- Date: 30 Jun 2006 03:01:24 -0700
Hi all,
I am using the CAM::PDF module to extract text from PDF files. (It's an
AMAZING module!!) You can pretty much do everything with it.
My snippet for extracting text from a PDF file is:
$pdf = CAM::PDF->new($Fil);
$page = $pdf->getPageText($Pg);
This works fine for all pages without any graphics. I am able to print
the contents of $page without any problems whatsoever. However, if a
particular page has some sort of an inline graphic, the $page returns
an empty value!
I was wondering:
- If somebody knows how to remove all the graphics from the $pdf object
before running the next line of code. I think that should fix it and no
longer return any empty string.
I've tried searching plenty but no luck so far!
Would be grateful for your help.
Vince
.
- Follow-Ups:
- Re: Cam::PDF question
- From: Greger
- Re: Cam::PDF question
- Prev by Date: Re: Question on printerhandling
- Next by Date: Re: Question on printerhandling
- Previous by thread: FAQ 4.69 How can I use a reference as a hash key?
- Next by thread: Re: Cam::PDF question
- Index(es):
Relevant Pages
|