int colorInt = Integer.parseInt(transStr, 16);
Color color = new Color(colorInt);
set.setTransparentColor(color);
}
set.importTileBitmap(sourcePath, new BasicTileCutter(tileWidth, tileHeight, tileSpacing, tileMargin));
} else {
Image image = unmarshalImage(child, tilesetBaseDir);
String idValue = getAttributeValue(child, "id");
int imageId = Integer.parseInt(idValue);
set.addImage(image, imageId);