JAL-629 Fix --tempfac. Hide non-working --notempfac. Add --scale, --width, --height...
[jalview.git] / src / jalview / gui / AlignmentPanel.java
index 3b0597a..a5a1aff 100644 (file)
@@ -1173,14 +1173,22 @@ public class AlignmentPanel extends GAlignmentPanel implements
     return (w > 0 ? w : calculateIdWidth().width);
   }
 
+  void makeAlignmentImage(ImageMaker.TYPE type, File file, String renderer)
+  {
+    makeAlignmentImage(type, file, renderer, 0.0f, 0, 0);
+  }
+
   /**
    * Builds an image of the alignment of the specified type (EPS/PNG/SVG) and
    * writes it to the specified file
    * 
    * @param type
    * @param file
+   * @param textrenderer
+   * @param bitmapscale
    */
-  void makeAlignmentImage(ImageMaker.TYPE type, File file, String renderer)
+  void makeAlignmentImage(ImageMaker.TYPE type, File file, String renderer,
+          float bitmapscale, int bitmapwidth, int bitmapheight)
   {
     final int borderBottomOffset = 5;
 
@@ -1210,7 +1218,8 @@ public class AlignmentPanel extends GAlignmentPanel implements
     int imageWidth = aDimension.getWidth();
     int imageHeight = aDimension.getHeight() + borderBottomOffset;
     String of = MessageManager.getString("label.alignment");
-    exporter.doExport(file, this, imageWidth, imageHeight, of, renderer);
+    exporter.doExport(file, this, imageWidth, imageHeight, of, renderer,
+            bitmapscale, bitmapwidth, bitmapheight);
   }
 
   /**