Author: sebawagner
Date: Tue May  1 07:02:03 2012
New Revision: 1332536

URL: http://svn.apache.org/viewvc?rev=1332536&view=rev
Log:
OPENMEETINGS-247 Make document conversion quality an administrator changeable 
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=1332536&r1=1332535&r2=1332536&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:02:03 2012
@@ -74,12 +74,9 @@ public class GenerateSWF {
        public HashMap<String, String> generateSwfByImages(List<String> images,
                        String outputfile, int fps) {
                List<String> argvList = Arrays.asList(new String[] {
-                               getPathToSwfTools() + "png2swf" + execExt, 
"-s", "insertstop", // Insert
-                                                                               
                                                                                
// Stop
-                                                                               
                                                                                
// command
-                                                                               
                                                                                
// into
-                                                                               
                                                                                
// every
-                                                                               
                                                                                
// frame
+                               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);


Reply via email to