| Issue 30: | Suggestion: use multivalent's -nopagepiece | |
| 1 person starred this issue and may be notified of changes. | Back to list |
Using -nopagepiece with tool.pdf.Compress seems to be a good idea in general. I have a file (unfortunately private, so I cannot post it) which shrinks by 80%, over 20Mb with this option. Here is a patch: Index: pdfsizeopt.py =================================================================== --- pdfsizeopt.py (revision 134) +++ pdfsizeopt.py (working copy) @@ -5952,7 +5952,7 @@ assert 0, 'Multivalent.jar not found, see above' assert ':' not in multivalent_jar # $CLASSPATH separator - multivalent_cmd = 'java -cp %s tool.pdf.Compress %s' % ( + multivalent_cmd = 'java -cp %s tool.pdf.Compress -nopagepiece %s' % ( ShellQuoteFileName(multivalent_jar), ShellQuoteFileName(in_pdf_tmp_file_name)) print >>sys.stderr, (
Mar 29, 2010
#1
william.bader@gmail.com
Feb 10, 2011
Thanks for the suggestion. Added -nopagepiece and -noalt in r149. I may add -nocore14 as well later as a pdfsizeopt feature.
Status:
Fixed
Labels: -Type-Defect Type-Enhancement |