Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: PerlMagick: How to Calculate an image size in milimiters?

by Arguile (Hermit)
on Jun 03, 2003 at 21:53 UTC ( [id://262808]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use constant PAGE_WIDTH => 8; # 8.5" page with 0.5" of equal margins.
    use constant DPI => 72;       # Fax resolution.
    ...
    $scale_factor = ( PAGE_WIDTH * DPI ) / $image->Get( 'y-resolution');
    
    # ...
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://262808]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (7)
As of 2024-04-18 15:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found