Finished office converter using MIME type detection

This commit is contained in:
Roberto Rosario
2011-11-21 02:47:52 -04:00
parent 67b3e19031
commit e590cb041c
3 changed files with 21 additions and 37 deletions

View File

@@ -64,7 +64,7 @@ class ConverterClass(ConverterBase):
'gs', '-q', '-dQUIET', '-dSAFER', '-dBATCH',
'-dNOPAUSE', '-dNOPROMPT',
first_page_tmpl, last_page_tmpl,
'-sDEVICE=jpeg', '-dJPEGQ=75',
'-sDEVICE=jpeg', '-dJPEGQ=95',
'-r150', output_file_tmpl,
input_file_tmpl,
'-c "60000000 setvmthreshold"', # use 30MB