more
This commit is contained in:
parent
496d10dea2
commit
83b5479832
|
@ -237,9 +237,9 @@ let squeeze ?logto ?(pagedata=true) ?(recompress=true) pdf =
|
||||||
ignore (decompress_pdf pdf);
|
ignore (decompress_pdf pdf);
|
||||||
log (Printf.sprintf "Recompressing document\n");
|
log (Printf.sprintf "Recompressing document\n");
|
||||||
let n = !Pdfcodec.flate_level in
|
let n = !Pdfcodec.flate_level in
|
||||||
Pdfcodec.flate_level := 9;
|
Pdfcodec.flate_level := 9;
|
||||||
ignore (recompress_pdf pdf);
|
ignore (recompress_pdf pdf);
|
||||||
Pdfcodec.flate_level := n
|
Pdfcodec.flate_level := n
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
(* Re-compress processed pagedata, even if recompress not set *)
|
(* Re-compress processed pagedata, even if recompress not set *)
|
||||||
|
|
Loading…
Reference in New Issue