Beefy Boxes and Bandwidth Generously Provided by pair Networks RobOMonk
XP is just a number
 
PerlMonks  

Re: batch converting images with image::magick?

by Zaxo (Archbishop)
on Aug 26, 2003 at 23:40 UTC ( [id://286939]=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?

Here's an interpreter script that does what you want. The file names are expected from the command line, for instance from a shell glob.

#!/usr/bin/perl use Image::Magick; for (@ARGV) { my $p = Image::Magick->new(); $p->Read($_); s/\.[^.]+$/.jpeg/; $p->Write($_); }

After Compline,
Zaxo

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://286939]
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.