Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: determining size of image

by zentara (Archbishop)
on Feb 22, 2007 at 17:22 UTC ( [id://601594]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    use Image::Magick;
    ...
    ($width, $height, $size, $format) = $image->Ping($x); 
    print $width,"\n", $height,"\n" ,$size,"\n", $format,"\n";
    
  2. or download this
    #!/usr/bin/perl
    
    ...
    
    $rc = $bg->Write("$ARGV[0]-resized.png");
    die $rc if $rc;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (2)
As of 2024-04-19 20:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found