You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openmeetings.apache.org by se...@apache.org on 2012/05/01 09:04:17 UTC

svn commit: r1332538 - /incubator/openmeetings/trunk/singlewebapp/src/org/openmeetings/app/documents/GenerateSWF.java

Author: sebawagner
Date: Tue May  1 07:04:17 2012
New Revision: 1332538

URL: http://svn.apache.org/viewvc?rev=1332538&view=rev
Log:
OPENMEETINGS-247 fix wrong option

Modified:
    incubator/openmeetings/trunk/singlewebapp/src/org/openmeetings/app/documents/GenerateSWF.java

Modified: incubator/openmeetings/trunk/singlewebapp/src/org/openmeetings/app/documents/GenerateSWF.java
URL: http://svn.apache.org/viewvc/incubator/openmeetings/trunk/singlewebapp/src/org/openmeetings/app/documents/GenerateSWF.java?rev=1332538&r1=1332537&r2=1332538&view=diff
==============================================================================
--- incubator/openmeetings/trunk/singlewebapp/src/org/openmeetings/app/documents/GenerateSWF.java (original)
+++ incubator/openmeetings/trunk/singlewebapp/src/org/openmeetings/app/documents/GenerateSWF.java Tue May  1 07:04:17 2012
@@ -62,6 +62,7 @@ public class GenerateSWF {
 				"insertstop", // insert Stop command into every frame
 				"-s","poly2bitmap", //http://www.swftools.org/gfx_tutorial.html#Rendering_pages_to_SWF_files
 				"-i", // change draw order to reduce pdf complexity
+				"-j", "100", // JPEG Quality to 100
 				originalFolder + fileNamePure + ".pdf",
 				destinationFolder + fileNamePure + ".swf" };
 
@@ -76,7 +77,6 @@ public class GenerateSWF {
 		List<String> argvList = Arrays.asList(new String[] {
 				getPathToSwfTools() + "png2swf" + execExt, "-s", 
 				"insertstop", // Insert Stop command into every frame
-				"-j", "100", // JPEG Quality to 100
 				"-o", outputfile, "-r", Integer.toString(fps), "-z" });
 
 		argvList.addAll(images);