Page 1 of 1

Editing Images in Subfolder

Posted: 2017-08-12T11:08:30-07:00
by Mukesh Dasharath
Hi Gentleman,

i m using IM-7.0.6-5 Q16 (64bit), windows-8.1 plateform

i use script- magick convert image.jpg -fill #f1f0ee -opaque white image. jpg
it works for multiple images in a single folder but not for muliple folders.
please help me to solve this.love to all.

Re: Editing Images in Subfolder

Posted: 2017-08-12T11:13:41-07:00
by fmw42
Imagemagick does not do file management. So you either need to make a list of the paths to your images and provide that list to a script loop over your command. Or alternately, use mogrify to process one folder of images at a time. See http://www.imagemagick.org/Usage/basics/#mogrify

Scripting in Windows is different from scripting in Unix. So you will need to study script looping for Windows if you want to go that route.

Sorry, I only script Unix, so cannot help provide a loop for you.

See http://www.imagemagick.org/Usage/windows/