Re: How would I apply my Plugin to all of the images in a directory?
Posted by
Marcel on
Sep 03, 2014; 6:35am
URL: http://imagej.273.s1.nabble.com/How-would-I-apply-my-Plugin-to-all-of-the-images-in-a-directory-tp5009468p5009475.html
Hello,
simply rewrite your plugin to loop through all files in a directory. Then save the edited files e.g. with the loop index as part of the name.
Here i found quickly a code example to open all files in a directory:
http://stackoverflow.com/questions/1844688/read-all-files-in-a-folder