title: No input source set error exception Tess4J
body: <p>I just downloaded Tess4J from <a href="http://tess4j.sourceforge.net/" rel="nofollow">http://tess4j.sourceforge.net/</a> and imported it in netbeans. Code is running but when i enter URL for image and try to convert it i'm getting an error.</p>
  
  <p>My code:</p>
  
  <pre><code>public static void main(String[] args) {
      File imageFile = new File("http://www.example.com/example-image.png");
      Tesseract instance = Tesseract.getInstance(); //
  
      try {
  
      String result = instance.doOCR(imageFile);
      System.out.println(result);
  
      } catch (TesseractException e) {
      System.err.println(e.getMessage());
      }
  }
  </code></pre>
  
  <p>Output error:</p>
  
  <pre><code>02:51:36.251 [main] ERROR net.sourceforge.tess4j.Tesseract - No input source set!
  java.lang.IllegalStateException: No input source set!
  java.lang.IllegalStateException: No input source set!
      at com.sun.imageio.plugins.png.PNGImageReader.getNumImages(PNGImageReader.java:1347)
      at net.sourceforge.tess4j.util.ImageIOHelper.getIIOImageList(ImageIOHelper.java:337)
      at net.sourceforge.tess4j.Tesseract.doOCR(Tesseract.java:212)
      at net.sourceforge.tess4j.Tesseract.doOCR(Tesseract.java:196)
      at Testing.main(Testing.java:23)
  </code></pre>
  
  <p>Anyone else experienced something like this before? I found 3 more similar topics on stackoverflow but they did not help me..</p>