The CPDF PDF command line tool for editing PDF files. cpdf as an OCaml library
Go to file
John Whitington b54a1e14c5 more
2014-11-16 13:53:20 +00:00
.gitignore more 2014-10-02 13:50:17 +01:00
blank20.pdf Finished page label work. 2014-09-19 13:58:20 +01:00
blank.pdf Finished page label bug fixes 2014-09-18 15:40:22 +01:00
Changes more 2014-11-16 13:53:20 +00:00
cpdf.1 Updates to manual 2013-10-25 16:33:31 +01:00
cpdf.ml -split now works with recrypting 2014-10-28 18:40:56 +00:00
cpdf.mli Moved split writing into cpdfcommand.ml, where it belongs. 2014-10-28 12:56:45 +00:00
cpdfcommand.ml Better handling of linearization errors 2014-11-13 15:42:53 +00:00
cpdfcommand.mli Squeeze now works on fast_write_split_pdfs i.e for -split and 2014-09-30 17:43:04 +01:00
cpdfcommandrun.ml Beginning to work on nobble problem 2014-10-22 11:07:17 +01:00
cpdfmanual.pdf Manual fixes 2014-11-13 14:32:53 +00:00
cpdfmanual.tex Manual fixes 2014-11-13 14:32:53 +00:00
cpdfstrftime.ml Unix back in 2013-11-22 14:42:18 +00:00
cpdfstrftime.mli
LICENSE
logo.pdf
Makefile Tidying 2014-10-30 19:48:45 +00:00
META
OCamlMakefile Removed dependency on Unix 2013-11-11 16:39:45 +00:00
README.md more 2013-12-27 16:44:42 +00:00
TODO
xmlm.ml Added xmlm in, for use reading and writing XMP metadata 2014-10-08 16:10:27 +01:00
xmlm.mli Added xmlm in, for use reading and writing XMP metadata 2014-10-08 16:10:27 +01:00

cpdf-source

Free for non-commercial use. See LICENSE for details. Copyright Coherent Graphics Ltd 2013.

This code builds two things:

a) The CPDF PDF Command Line Tools, which are a popular commercial command line tool for editing PDF files.

b) cpdf as an OCaml library.

Prerequisites to build

The OCaml compiler

http://ocaml.org

The camlpdf library

http://github.com/johnwhitington/camlpdf

The ocamlfind library manager

http://projects.camlcity.org/projects/findlib.html

If you are using the OPAM package manager:

http://opam.ocamlpro.com

these can be installed by:

opam install camlpdf

To build

  1. Type make to make the cpdf executable and the library

  2. Type make install to install the OCaml cpdf library.

The cpdf executable should be manually placed somewhere suitable.

Alternatively, the library and command-line binary can be installed by

opam install cpdf

Documentation

The file cpdfmanual.pdf in this folder is the documentation for the command line tools. The documentation for the cpdf OCaml library is in doc/html/cpdf/ in this folder once the library has been built.

Contact

contact@coherentgraphics.co.uk