title: ImageJ silent mode - process without opening images
body: <p>I need to run Macro, but I don't want to show the image. If I don't call the imp.show(), ImageJ will print to the console There are no images open. So how can I run Macro without showing the image? Thanks in advance.  </p>
  
  <pre><code>public class MyPlugin implements PlugIn {
  
  public static void MyPlugin(String path) {
      System.setProperty("plugins.dir", "libraries/plugins");
      System.setProperty("macros.dir", "libraries/macros");
      Opener opener = new Opener();
      ImagePlus imp = opener.openImage(path);
      imp.show();
      IJ.run(imp, "Skeletonize", "");
      runMacroFile("libraries/macros/FindJunctions", "");
      imp.close(); 
  }
  </code></pre>