docs: public static void main( String[] args ) {
          ImageMetadata imageMetadata = new ImageMetadata();
          imageMetadata.setDetermineImageNumber(true);
          boolean verbose = determineVerbosity(args);
          if (args.length == 0) {
              run(null, System.in, imageMetadata, verbose);
          } else {
              int index = 0;
              while (index < args.length) {
                  InputStream in = null;
                  try {
                      String name = args[index++];
                      // System.out.print(name + ";");
                      if (name.startsWith("http://")) {
                          in = new URL(name).openConnection().getInputStream();
                      } else {
                          in = new FileInputStream(name);
                      }
                      run(name, in, imageMetadata, verbose);
                  } catch (IOException e) {
                      e.printStackTrace();
                  } finally {
                      if (in != null) {
                          try {
                              in.close();
                          } catch (IOException ee) {
                              ee.printStackTrace();
                          }
                      }
                  }
              }
          }
      }