Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

pdf manipulation

by jrsmith (Pilgrim)
on Mar 05, 2001 at 19:23 UTC ( [id://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

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
Domain Nodelet?
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?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (3)
As of 2024-04-25 06:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found