code: public static void main(String[] argv) throws IOException {
  		File dir = new File(".");
  		dir = new File("C:\\eclipse\\grobot-workspace\\anon\\res\\tiles\\indoor1");
  		
  		ArrayList list = new ArrayList();
  		File[] files = dir.listFiles();
  		for (int i=0;i<files.length;i++) {
  			if (files[i].getName().endsWith(".png")) {
  				if (!files[i].getName().startsWith("output")) {
  					list.add(files[i]);
  				}
  			}
  		}
  		
  		Pack packer = new Pack();
  		packer.pack(list, 512, 512, 1, new File(dir, "output.png"));
  		System.out.println("Output Generated.");
  	}
docs: Entry point to the tool, just pack the current directory of images
  
  @param argv The arguments to the program
  @throws IOException Indicates a failure to write out files