Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Recursive image processing (with ImageMagic)

by SuicideJunkie (Priest)
on Nov 23, 2012 at 14:43 UTC ( #1005273=note: print w/ replies, xml ) Need Help??


in reply to Recursive image processing (with ImageMagic)

Irfanview should do what you want already.

i_view32.exe c:\*.png /gray /convert=d:\temp\*.png

I don't see an obvious option for recursive directories, but the directory diving can be done with a very small script that makes the calls to convert everything in the directory.


Comment on Re: Recursive image processing (with ImageMagic)
Download Code
Re^2: Recursive image processing (with ImageMagic)
by wvick (Novice) on Nov 23, 2012 at 17:49 UTC

    I know Irfanview well, but have never tried it on the command line. Within the Windows UI, attempting to wildcard the folders chokes the app. I assume there's a hardcoded practical batch limit in there somewhere. Better to use something like Perl to discover the PNG files one-on-one, process and move on to the next.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2015-07-04 19:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls