File imgFile = new File(imgFilename); tilebmpFile = imgFile.getCanonicalPath();  System.out.println("Importing " + imgFilename + "...");  importTileBitmap(ImageIO.read(imgFile), cutter, createTiles);
tilebmpFile = new File(imgFilename); tilebmpFileLastModified = tilebmpFile.lastModified(); importTileBitmap(ImageIO.read(tilebmpFile), cutter, createTiles);
    public void importTileBitmap(String imgFilename, TileCutter cutter,                                 boolean createTiles) throws Exception    {        // IOException will propagate upwards when file cannot be found        File imgFile = new File(imgFilename);        tilebmpFile = imgFile.getCanonicalPath();        System.out.println("Importing " + imgFilename + "...");        importTileBitmap(ImageIO.read(imgFile), cutter, createTiles);    }