We don't bite newbies here... much | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
It also makes the directory handling more complicated as I need to check or create (regardless) the output folder for and every file created. Unless, I suppose, File:Find returns files in blocks so I can check the last folder created and only mkdir when needed.
Well if you think about it, you have to test each file and directory to find out if you are in the right one, then if each file in that subdir has a .png ending. I think to save cpu cycles, in your case, I would run File::Find with a directory test before the file test. $File::Find::prune = 1 will skip processing any files in that subdir. Something like:
I'm not really a human, but I play one on earth. Old Perl Programmer Haiku ................... flash japh In reply to Re^3: Recursive image processing (with ImageMagic)
by zentara
|
|