Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: determining size of image

by zentara (Archbishop)
on Feb 22, 2007 at 17:22 UTC ( #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? | Other CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2023-02-06 23:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I prefer not to run the latest version of Perl because:







    Results (37 votes). Check out past polls.

    Notices?