Skip to content

coherentgraphics/cpdf-binaries

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
July 27, 2023 16:03
July 27, 2023 16:03
July 27, 2023 16:03
July 27, 2023 16:03
January 20, 2022 19:43
July 27, 2023 13:51

cpdf-binaries

Download the "master" zip by clicking Code --> Download Zip. Do not download a versioned tag.

PDF Command Line Tools binaries for Linux, Mac, Windows.

For non-commercial use only. See the file LICENSE for details. For commercial use, a license must be purchased from http://www.coherentpdf.com.

It prints a little message to stderr about the non-commercial license, and sets the Producer to cpdf.

Functionality

  • Quality Split and Merge, keeping bookmarks. Extract pages. Split on Bookmarks.
  • Encrypt and Decrypt (including AES 128 and AES 256 encryption)
  • Scale, rotate, crop and flip pages. Scale pages to fit.
  • Copy, Remove and Add bookmarks
  • Stamp logos, watermarks, page numbers and multiline text. Transparency.
  • Embed TrueType fonts when adding text
  • Supports Unicode UTF8 text input and output
  • Make PDF-based presentations
  • Put multiple pages on a single page
  • List, copy, set, or remove annotations
  • Read and set document information and metadata
  • Add and remove file attachments to document or page.
  • Thicken hairlines, blacken text, make draft documents
  • Reconstruct malformed files
  • Detect missing fonts, low resolution images
  • Export and import PDF files in JSON format
  • Build table of contents
  • Convert text to PDF
  • Draw on PDF files with graphics and text

Documentation

PDF Manual:

http://www.coherentpdf.com/cpdfmanual.pdf

Examples:

http://www.coherentpdf.com/usage-examples.html

Website:

http://www.coherentpdf.com/

To Install

The program cpdf (or cpdf.exe for Windows) is a single executable with no dependencies. Copy it to somewhere suitable on your platform.

The last version of cpdf compatible with Windows XP is v2.2.1.

MacOS: The executable is codesigned, but not notarized. If it refuses to run the first time, go to System Preferences --> Security & Privacy --> General and click "Allow anyway". Instructions:

https://www.coherentpdf.com/mac.html

C/C++/Python/.NET/Java API

An API version of these tools is available:

C/C++ source: https://github.com/johnwhitington/cpdflib-source

C/C++ binaries: https://github.com/coherentgraphics/cpdflib-binary

Python: https://github.com/coherentgraphics/python-libcpdf

Java: https://github.com/coherentgraphics/jcpdf

.NET: https://github.com/coherentgraphics/dotnet-libcpdf

Coherentpdf.js

A JavaScript implementation for node and the browser is available:

https://github.com/coherentgraphics/coherentpdf.js

Support

Raise an issue in this github repository, or email contact@coherentgraphics.co.uk

About

PDF Command Line Tools binaries for Linux, Mac, Windows

Resources

License

Stars

Watchers

Forks

Packages

No packages published