CPDF - command line PDF tools

Share interesting information or links related to portable apps here.
Post Reply
Message
Author
billon
Posts: 678
Joined: Sat Jun 23, 2012 4:28 pm

CPDF - command line PDF tools

#1 Post by billon » Fri Nov 03, 2017 6:16 pm

[Moderator note: this thread was split from the ImageMagick thread.]

---
Midas wrote:Now, something to do the same to PDF files would be the works
Try cpdf

User avatar
Midas
Posts: 4576
Joined: Mon Dec 07, 2009 7:09 am
Location: Sol3

Re: ImageMagick - command line image conversion

#2 Post by Midas » Sun Nov 05, 2017 5:23 am

billon wrote:Try cpdf
Thanks for the tip. Will do. 8)

User avatar
__philippe
Posts: 559
Joined: Wed Jun 26, 2013 2:09 am

Re: ImageMagick - command line image conversion

#3 Post by __philippe » Sun Nov 05, 2017 6:02 am

@billon

Seconded, ta for the cpdf pointer !
This recent (March 2017) cpdf user manual might prove handy as well :wink:

User avatar
webfork
Posts: 8301
Joined: Wed Apr 11, 2007 8:06 pm
Location: US, Texas
Contact:

Re: CPDF - command line PDF tools

#4 Post by webfork » Sun Nov 05, 2017 7:54 pm

Great post billon and __philippe. I'm almost certainly going to post more about this tool so I decided to go ahead and split off from ImageMagick to avoid a thread hijack.

Program is cross-platform (mac/win/linux), supports strong encryption, and lossless compression.

License: Free for non-commercial use, code used by this program bound by the same license: https://github.com/coherentgraphics/cpd ... er/LICENSE ... buy a license here: http://www.coherentpdf.com/ for around $340 USD (as of this writing).

User avatar
webfork
Posts: 8301
Joined: Wed Apr 11, 2007 8:06 pm
Location: US, Texas
Contact:

Re: CPDF - command line PDF tools

#5 Post by webfork » Wed Nov 08, 2017 4:43 pm

I did a bit more digging and it looks like they add a watermark to all processed pages so it looks like this program is really just a demo for a commercial product, save for listing fonts or reading document info.

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

I'm disappointed but certainly not surprised. This is a very powerful toolset.

User avatar
webfork
Posts: 8301
Joined: Wed Apr 11, 2007 8:06 pm
Location: US, Texas
Contact:

Re: CPDF - command line PDF tools

#6 Post by webfork » Mon Nov 20, 2017 7:57 pm

It doesn't have anywhere near the features but PDFBox is a Java-based alternative to CPDF https://pdfbox.apache.org/index.html that might be portablized using jPortable and the companion JAR Launcher.

User avatar
webfork
Posts: 8301
Joined: Wed Apr 11, 2007 8:06 pm
Location: US, Texas
Contact:

Re: CPDF - command line PDF tools

#7 Post by webfork » Mon Feb 25, 2019 7:34 pm

Another one to add to the list of CLI PDF tools: http://www.xpdfreader.com/ / https://www.softpedia.com/get/Office-to ... Xpdf.shtml based on

Tools include:
xpdf: PDF viewer
pdftotext: converts PDF to text
pdftops: converts PDF to PostScript
pdftoppm: converts PDF pages to netpbm (PPM/PGM/PBM) image files
pdftopng: converts PDF pages to PNG image files
pdftohtml: converts PDF to HTML
pdfinfo: extracts PDF metadata
pdfimages: extracts raw images from PDF files
pdffonts: lists fonts used in PDF files
pdfdetach: extracts attached files from PDF files

Post Reply