+ height += annotationPanel.adjustPanelHeight() + 3;
+ }
+
+ try
+ {
+
+ jalview.util.ImageMaker im;
+ final String imageAction, imageTitle;
+ if (type == jalview.util.ImageMaker.PNG)
+ {
+ imageAction = "Create PNG image from alignment";
+ imageTitle = null;
+ }
+ else
+ {
+ imageAction = "Create EPS file from alignment";
+ imageTitle = alignFrame.getTitle();
+ }
+ im = new jalview.util.ImageMaker(this, type, imageAction, width,
+ height, file, imageTitle);
+ if (av.getWrapAlignment())