From: <ha...@us...> - 2008-09-15 12:59:59
|
Revision: 9899 http://jmol.svn.sourceforge.net/jmol/?rev=9899&view=rev Author: hansonr Date: 2008-09-15 12:59:55 +0000 (Mon, 15 Sep 2008) Log Message: ----------- signed write of SPT files Modified Paths: -------------- trunk/Jmol/src/org/jmol/applet/Jvm12.java Modified: trunk/Jmol/src/org/jmol/applet/Jvm12.java =================================================================== --- trunk/Jmol/src/org/jmol/applet/Jvm12.java 2008-09-15 12:48:13 UTC (rev 9898) +++ trunk/Jmol/src/org/jmol/applet/Jvm12.java 2008-09-15 12:59:55 UTC (rev 9899) @@ -170,13 +170,15 @@ imageType = type.toUpperCase(); imageQuality = quality; fileName = dialogAsk("saveImage+" + type, fileName); + quality = imageQuality; + type = imageType; } if (fileName == null) return null; JmolImageCreatorInterface c = (JmolImageCreatorInterface) Interface .getOptionInterface("export.image.ImageCreator"); c.setViewer(viewer); - return c.createImage(fileName, imageType, text_or_bytes, imageQuality); + return c.createImage(fileName, type, text_or_bytes, quality); } void clipImage() { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |