No frame caching during export => memory saving (like Issue #583)

This commit is contained in:
Jindra Petřík
2014-06-02 22:04:25 +02:00
parent 60a49f4e1a
commit 369a722f74
3 changed files with 50 additions and 27 deletions

View File

@@ -1206,7 +1206,7 @@ public class CommandLineArgumentParser {
displayRect.Ymax *= zoom;
Matrix m = new Matrix();
m.scale(zoom);
BufferedImage img = SWF.frameToImageGet(ds.getTimeline(), 0, 0, null, 0, displayRect, m, new ColorTransform(), Color.white).getBufferedImage();
BufferedImage img = SWF.frameToImageGet(ds.getTimeline(), 0, 0, null, 0, displayRect, m, new ColorTransform(), Color.white, false).getBufferedImage();
PageFormat pf = new PageFormat();
pf.setOrientation(PageFormat.PORTRAIT);
Paper p = new Paper();