🍺 BREW Explorer

← all formulae

camlpdf

brew install camlpdf v2.9.1 LGPL-2.1-only WITH OCaml-LGPL-linking-exception

OCaml library for reading, writing and modifying PDF files

223
30-day installs · #2505
420
90-day · #3090
1.3k
365-day · #3412
230
★ GitHub stars · updated 2mo ago

Runtime dependencies

Build dependencies

Links

Raw metadata
{
  "aliases": [],
  "alternatives": [],
  "build_dependencies": [
    "ocaml-findlib"
  ],
  "categories": [],
  "caveats": null,
  "conflicts_with": [],
  "dependencies": [
    "ocaml"
  ],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "OCaml library for reading, writing and modifying PDF files",
  "disable_reason": null,
  "disabled": 0,
  "enrichment_fetched_at": "2026-06-20T23:36:06+00:00",
  "first_seen": "2026-06-20T23:34:18+00:00",
  "full_name": "camlpdf",
  "github_default_branch": "master",
  "github_last_commit_at": "2026-06-15T18:36:44Z",
  "github_readme_excerpt": "CamlPDF\n=======\n\nCamlPDF is an OCaml library for reading, writing and modifying PDF files. It is\nthe basis of the \"CPDF\" command line tool and C/C++/Java/Python/.NET/JavaScript\nAPI, which is available at [http://www.coherentpdf.com/](http://www.coherentpdf.com/).\n\nLicense\n---\n\nCopyright Coherent Graphics Ltd 2007 - 2026. Released under the LGPL with\nspecial linking exception. See \"LICENSE\" for details.\n\nSee also original copyright and/or license statements in rijndael-alg-fst*,\nsha2*, miniz*, pdfafmdata.ml, and compresssor.\n\nTo Build\n---\n\nIf downloading from Github, obtain the correct source. This means choosing the\ntag for a particular version, such as \"v2.9.1\". The head of the master branch\nis unstable.\n\n1. Run \"make\". This will build camlpdf.a, camlpdf.cma, camlpdf.cmxa and the\n   documentation (in doc/camlpdf/html).\n\n2. If your environment has \"ocamlfind\", \"make install\" will install the\n   library. Otherwise, use the built outputs as you will.\n\nAlternatively, you can install the latest version with\n\n```\nopam install camlpdf\n```\n\nDocumentation\n---\n\nThe API documentation, which is built by the makefile in doc/camlpdf/html, can\nalso be accessed online at\n[http://www.coherentpdf.com/camlpdf](http://www.coherentpdf.com/camlpdf).\n\nThe file [introduction_to_camlpdf.pdf](introduction_to_camlpdf.pdf) will help\nthe beginner.\n\nSome level of knowledge of the PDF file format itself, which is large, may be\nrequired. Useful texts are the author\u0027s book:\n\n[http://shop.oreilly.com/product/0636920021483.do](http://shop.oreilly.com/product/0636920021483.do)\n\nand the ISO standard for PDF:\n\n[https://www.pdfa-inc.org/product/iso-32000-2-pdf-2-0-bundle-sponsored-access/](https://www.pdfa-inc.org/product/iso-32000-2-pdf-2-0-bundle-sponsored-access/)\n\nAcknowledgments\n---\n\nThe file [miniz.c](miniz.c) is a (very slightly modified) version of the\nminiz.c zlib implementation by Rich Geldreich, available here:\n\n[http://code.google.com/p/miniz/](http://code.google.com/p/miniz/)\n\nThe files [fl",
  "github_repo": "johnwhitington/camlpdf",
  "github_stars": 230,
  "github_topics": [],
  "homepage": "https://github.com/johnwhitington/camlpdf",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": null,
  "installs_30d": 223,
  "installs_365d": 1298,
  "installs_90d": 420,
  "keg_only": 0,
  "keg_only_reason": null,
  "last_seen": "2026-06-20T23:34:18+00:00",
  "license": "LGPL-2.1-only WITH OCaml-LGPL-linking-exception",
  "llm_generated_at": null,
  "llm_model": null,
  "name": "camlpdf",
  "oldnames": [],
  "one_liner": null,
  "optional_dependencies": [],
  "rank_30d": 2505,
  "rank_365d": 3412,
  "rank_90d": 3090,
  "raw_hash": "68f8687772cb021f",
  "recommended_dependencies": [],
  "revision": 0,
  "ruby_source_path": "Formula/c/camlpdf.rb",
  "tap": "homebrew/core",
  "test_dependencies": [],
  "uses_from_macos": [],
  "version_head": null,
  "version_stable": "2.9.1",
  "versioned_formulae": [],
  "why_use_this": null
}