Beefy Boxes and Bandwidth Generously Provided by pair Networks Frank
Perl: the Markov chain saw
 
PerlMonks  

Graphics file size information

by John M. Dlugosz (Monsignor)
on Apr 01, 2011 at 17:45 UTC ( #896960=perlquestion: print w/ replies, xml ) Need Help??
John M. Dlugosz has asked for the wisdom of the Perl Monks concerning the following question:

I'm looking at Image::Size, Image::Info, etc. and wondering what module to use to get information concerning image files. If I want more than just the height and width later, I should plan for a module that does more without loading multiple code bases that do the same thing. But simple is also good.

Any thoughts on experience or inside knowledge of these modules?

Comment on Graphics file size information
Re: Graphics file size information
by Eliya (Priest) on Apr 01, 2011 at 20:28 UTC
Re: Graphics file size information
by wind (Priest) on Apr 03, 2011 at 19:47 UTC
    I use Image::Magick for most of my image processing and manipulation routines.
    # Resize image my $image = new Image::Magick; $image->Read($file); $image->Scale(geometry => '300x300'); $image->Set(density=>'200'); $image->Write($file);

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2013-05-23 23:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best material for plates (tableware) is:









    Results (493 votes), past polls