Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

pdf manipulation

by jrsmith (Pilgrim)
on Mar 05, 2001 at 19:23 UTC ( #62248=perlquestion: print w/ replies, xml ) Need Help??
jrsmith has asked for the wisdom of the Perl Monks concerning the following question:

i'm trying to find a way to manipulate pdf files in perl. i did a search on this site and found discussions of pdf::create, which will solve half my problem but what i need your help with is finding a way to read the contents of a preexisting pdf file. ideally i would be able to read in the contents of a file, change or edit some data, add a few pages at the end and spit it out as a new pdf file. anybody know of a module that will do this? i searched cpan but all pdf related modules seem to be able to create from scratch but not edit. any thoughts are greatly appreciated

JR

Comment on pdf manipulation
Replies are listed 'Best First'.
Re: pdf manipulation
by boo_radley (Parson) on Mar 05, 2001 at 19:33 UTC
    this seems to be a good candidate for you :
    PDF-111
    Especially PDF::Core, which appears to let you write PDF primitives & etc. The interface looks a bit hairy, though. Of course, the ususal warantee applies; I'm just a search monkey, this module may corrupt memory, drive or children, cause pets to go frothy, etc.
Re: pdf manipulation
by andye (Curate) on Mar 05, 2001 at 22:54 UTC
    Suggest you have a look at Image::Magick, which can do pdfs. It's a free image manipulation application, with Perl (among other) libraries - it's very adaptable.

    andy.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://62248]
Approved by root
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (12)
As of 2015-08-28 07:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (335 votes), past polls