private static void exportFrame(ExportDiagnoser d, Frame f, File baseDirectory) {
Rectangle rect = f.properRectangle();
Point pivot = f.getPivot();
d.printSection(f.getName());
RelativeFile relativeImageFile = f.getImageFile();
if(relativeImageFile!=null) {
File imageFile = relativeImageFile.getAbsoluteFile();
File imagePath = new File("");
try {
imagePath = getRelativeFile(imageFile, baseDirectory);
d.printKeyValue("Texture", imagePath.toString());
} catch (IOException e) {