Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Extract page layouts or crop box height and width from pdf

by anniyan (Monk)
on Dec 27, 2005 at 10:55 UTC ( #519296=perlquestion: print w/ replies, xml ) Need Help??
anniyan has asked for the wisdom of the Perl Monks concerning the following question:

Monks i want to get the page layouts or cropbox height and width from a pdf page. I tried PDF::API2 from which we can set the cropbox in a pdf page. But i want to extract the already existing cropbox attributes. Is it possible? if so please point the module which will help to accomplish this.

Regards,
Anniyan
(CREATED in HELL by DEVIL to s|EVILS|GOODS|g in WORLD)

Comment on Extract page layouts or crop box height and width from pdf
Re: Extract page layouts or crop box height and width from pdf
by marto (Chancellor) on Dec 27, 2005 at 11:19 UTC
    anniyan,

    What other modules have you looked at?
    Take a look at CAM::PDF, it may be of use to you in finding objects and extracting/copying them.

    Martin

      marto thanks. I already tried that module but there is no method to identify page layouts or cropbox width and height.

      Regards,
      Anniyan
      (CREATED in HELL by DEVIL to s|EVILS|GOODS|g in WORLD)

        PDFLib pCOS looks like it'll allow access to the cropbox information. It is, however, commercial software, which may or may not be a problem for you. I'm guessing the price is in euro but I'm not sure, as it shows as '99*' (for the non-server version) in my browser ;-),

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2014-09-02 02:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (18 votes), past polls