code: private static void run(String sourceName, InputStream in, ImageInfo imageInfo, boolean verbose) {
  		imageInfo.setInput(in);
  		imageInfo.setDetermineImageNumber(true);
  		imageInfo.setCollectComments(verbose);
  		if (imageInfo.check()) {
  			print(sourceName, imageInfo, verbose);
  		}
  	}
docs: /*	private String readLine(int firstChar) throws IOException {
  StringBuffer result = new StringBuffer();
  result.append((char)firstChar);
  return readLine(result);
  }