[ 
https://issues.apache.org/jira/browse/OPENMEETINGS-247?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13267092#comment-13267092
 ] 

George Kirkham commented on OPENMEETINGS-247:
---------------------------------------------

Unfortunately the -j option did not resolve the issue. With the help of others 
I was able to test a new build using a zoom of 200 and a multiply of 2.

I believe that the multiply is not required and overly increases the size of 
the converted file, however the zoom parameter of swftools may be of great 
value in increasing the resolution of the images contained in converted files.

zoom=<dpi>        the resultion (default: 72)

It is difficult to determine the optimal value for the zoom.  I had chosen 200 
dpi as this is what most commonly used by fax devices, and while I like the 
result, I am concerned that for many people this may create an overly large swf 
file.

It would be nice for the zoom parameter to be included and the value to be 
adjustable from within the  Administrator's OpenMeetings Configuration settings.

Thank you for your previously fast response to this request, it was greatly 
appreciated, and to others who have assisted me in testing the zoom parameter.


                
> Make document conversion quality an administrator changeable option
> -------------------------------------------------------------------
>
>                 Key: OPENMEETINGS-247
>                 URL: https://issues.apache.org/jira/browse/OPENMEETINGS-247
>             Project: Openmeetings
>          Issue Type: Improvement
>          Components: Converters
>    Affects Versions: 2.0 Apache Incubator Release
>         Environment: Debian Squeeze,  
> openmeetings-2.0.0.r1328537-20-04-2012_2319.tar.gz (Build #43)
>            Reporter: George Kirkham
>              Labels: configuration, conversion, converter, quality
>             Fix For: 2.0 Apache Incubator Release
>
>
> I have the need to improve the quality of converted PDF, Word or PowerPoint 
> files, that is increase the resolution of the conversion process for   Word 
> PDF and PowerPoint files are converted to *.swf files.
> Currently the quality of any images within converted documents is so poor 
> that we cannot clearly read the text within the images contained in documents.
> This may be able to be resolved by allowing the quality of file conversion to 
> be adjustable in the administration section of OpenMeeting or in the 
> config.xml file.
>  
> Checking the OpenMeetings log it would seem that it is using pdf2swf without 
> any "-j" setting, I found this in the log file;
> args: [/usr/local/bin/pdf2swf, -s, insertstop, -s, poly2bitmap, -I, 
> /user/lib/red5/webapps/openmeetings/upload/files/le8...
> Checking some of the source code I noticed that in the code these does not 
> appear that the "-j" option is being used, therefore I guess the default 
> value of 85% is being used when converting documents.
>  
> -j , --jpegquality quality     Set quality of embedded jpeg pictures to 
> quality. 0 is worst (small), 100 is best (big). (default:85)
>  
> I could not find any settings in the 
> /usr/lib/red5/webapps/openmeetings/config.xml file for the pdf2swf arguments.
>  
> And I don't think that I can change this in OpenMeetings, it is most likely 
> set somewhere in the source code?
>  
> Sadly I have never managed to successfully build OpenMeetings using "ant", 
> but checking the source code, maybe the place to add the "-j" option may be 
> in;
> ./openmeetings/trunk/singlewebapp/src/org/openmeetings/app/documents/GenerateSWF.java
>   line 216
> // Create the Content of the Converter Script (.bat or .sh file)
>  
> I wonder if the developers would be able to add the "-j" option as a user 
> setting, and allow this value to be adjustable by administrators?
>     

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to