package cpdf

  1. Overview
  2. Docs
PDF command line tools

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v2.9.tar.gz
md5=14ad4b9168a0d6caebe37697540520d9
sha512=95244ee016258239d93b3098f45bd1ae43bb01711fd632d5b5005bded076231f1728075d17ed6d53b5d7420704a6adbb847a61ab95f08466d9dfdef353ce3212

doc/cpdf/Cpdfsqueeze/index.html

Module Cpdfsqueeze

Lossless compression

val recompress_pdf : Pdf.t -> Pdf.t

Compresses all streams in the PDF document which are uncompressed, using /FlateDecode, leaving out metadata. If the PDF is encrypted, does nothing.

val decompress_pdf : Pdf.t -> Pdf.t

Decompresses all streams in a PDF document, assuming it isn't encrypted.

val squeeze : ?logto:string -> ?pagedata:bool -> Pdf.t -> unit

Squeeze a PDF