hot folders or watch folders with image magick

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
soyeb
Posts: 2
Joined: 2016-06-05T08:29:50-07:00
Authentication code: 1151

hot folders or watch folders with image magick

Post by soyeb »

Hi All,

I would like to know how to set hot-folders with image magick so whatever i put in an input folder automates in an output folder. I would also like to know if it is possible to output to different folders and/or sub input folders.

So images are to be cropped, re-sized and some to be .svg and some as .jpg

if the output folder directory was like this output>svg>jpg

so jpg's in jpgs and svg's in svg

is that possible??
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: hot folders or watch folders with image magick

Post by fmw42 »

Imagemagick does not control folders. That is the property of your OS. Imagemagick simply converts images from one directory to another as desired, but only where and when you tell it to do that. The when you do it is controlled by your OS and scripting language.
soyeb
Posts: 2
Joined: 2016-06-05T08:29:50-07:00
Authentication code: 1151

Re: hot folders or watch folders with image magick

Post by soyeb »

oh okay, is there a way then to get image magick to work with scripting or the os in order to use image magick with hot folders??

thanks
Bonzo
Posts: 2971
Joined: 2006-05-20T08:08:19-07:00
Location: Cambridge, England

Re: hot folders or watch folders with image magick

Post by Bonzo »

oh okay, is there a way then to get image magick to work with scripting or the os in order to use image magick with hot folders??
Yes you can use batch or bash scripts.
Post Reply