Editing Images in Subfolder

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
Mukesh Dasharath
Posts: 2
Joined: 2017-08-12T10:31:54-07:00
Authentication code: 1151

Editing Images in Subfolder

Post by Mukesh Dasharath » 2017-08-12T11:08:30-07:00

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.

User avatar
Posts: 24092
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Editing Images in Subfolder

Post by fmw42 » 2017-08-12T11:13:41-07:00

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/

Post Reply