This thread (sorry to revive an old one!) has been very helpful in creating a single input/output example, but I’m at a loss to see how it would modify for a directory of images? i.e. can I pass a directory of images to the DoSomeWork.ijm macro and save the results?
@Chris4 Have you had a look at this page?
There are a couple of ways to process all images in a directory. I personally like the “Option 2 - Script Template” approach because it is very flexible.