Beefy Boxes and Bandwidth Generously Provided by pair Networks RobOMonk
P is for Practical
 
PerlMonks  

Re: batch converting images with image::magick?

by PodMaster (Abbot)
on Aug 26, 2003 at 23:14 UTC ( [id://286936]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to batch converting images with image::magick?

This has come up before, you just gotta find it --> Image::Magick bmp jpg site:perlmonks.thepen.com --> Image Magick JPG --> Image::Magick thumb site:perlmonks.thepen.com

update: when in doubt, super search ( http://shawn.apocabilly.org/PGP/)

IIRC, imagemagick picks up the format from the filename (or you can say ->Write(format:filename)) This ought to do it

my $im = Image::Magick->new; $im->Read('file.bmp'); $im->Scale(geometry => '30x30'); # make a thumbnail, lol $im->Write('file.jpg');

MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
** The third rule of perl club is a statement of fact: pod is sexy.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://286936]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.