From 1b0fefc00f4c19b5add9d9cc7cef18709f5b3b21 Mon Sep 17 00:00:00 2001 From: John Whitington Date: Mon, 6 Oct 2014 15:32:18 +0100 Subject: [PATCH] Added flate level changing for -squeeze --- cpdf.ml | 1 + cpdfmanual.pdf | Bin 207828 -> 207828 bytes cpdfmanual.tex | 10 ---------- 3 files changed, 1 insertion(+), 10 deletions(-) diff --git a/cpdf.ml b/cpdf.ml index 99c8700..35fd853 100644 --- a/cpdf.ml +++ b/cpdf.ml @@ -198,6 +198,7 @@ let squeeze pdf = Printf.printf "Squeezing page data and xobjects\n%!"; squeeze_all_content_streams pdf; Printf.printf "Recompressing document\n%!"; + Pdfcodec.flate_level := 9; ignore (recompress_pdf pdf) with e -> raise (Pdf.PDFError "Squeeze failed. No output written") diff --git a/cpdfmanual.pdf b/cpdfmanual.pdf index ddb7524be62714ebc5681d8ff693cedf0412a509..b8ca4f8855d36e3a46f89e17704d5ca212fedade 100644 GIT binary patch delta 138 zcmca|o#)DRo`x327N#xC($ZRHh9;(##unNJhUx|e>Y7~ozWFIGi6yBD8ZK5w28Jev z1_n?i+g+uZjX9i+UCiB#OkCWI%}mV9T@4*wOkE7z%-mcoOY7~ozWFIGi6yBD8ZK5w28Jev z1_n?i+g+uZjX9hRoDGf4EFDcP4a{9E-OLS5ER8IUP0TDU4b9A)O&pEw6l@47*}hwu HS&{<)kFg;T diff --git a/cpdfmanual.tex b/cpdfmanual.tex index 3bef149..35f72d5 100644 --- a/cpdfmanual.tex +++ b/cpdfmanual.tex @@ -1,13 +1,3 @@ -%To document for next version: -% Anil's changes to output format of -list-annotations -% The new -open-at-page, -open-at-page-fit options -% Add -args, clean up -control documentation -% Explain quadruple backslash on command line leading to single real slash \\\\ -> \\ -> \ -% Explain page labels in -page-info -% Correct the documentation for -diagonal and -reverse-diagonal -% Explain octal escape sequences in meta fields with -raw -% is scale_to_fit in do_stamp documented? - \documentclass[a4paper,makeidx]{memoir} \usepackage{palatino} \usepackage{microtype}