[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: PDF Editor for Debian



qpdf is good for e.g. removing any password protection - given you know the password. But I kinda doubt that's what's meant with editor. And quite frankly, you can do most of what qpdf does more comfortably with tools like PDFSam or PDF Arranger. The latter even lets you crop pages or rename the document name (saved inside the pdf). If you want a reason to go CLI, that's definitely ghostscript. It can compress (losslessly), decompress, resize images and pages, have it conform to various PDF standards - to my knowledge pretty much the only free piece of software that will write PDF 2.0 compatible files - merge files, embed fonts/font subsets or convert them to outlines, convert to images...and that's far from a complete list. Of course it's quite complex but there are many pages out there that will tell you how to achieve what. I doubt there's a single program as capable as ghostscript - maybe with the exception of Acrobat Pro.

Richard

Am Mi., 26. Juni 2024 um 21:48 Uhr schrieb Franco Martelli <martellif67@gmail.com>:
On 24/06/24 at 00:50, Arbol One wrote:
> Hello.
> Is there a PDF editor that would work with Debian 12?
>

Time ago I used Qpdf to delete some pages in a .pdf, for a quick
description:

~$ apt show qpdf

in the manual there are some command examples, I used these command to
edit a pdf:

- To delete the last two pages of a pdf:

~$ qpdf 1.pdf --pages . 1-r3 -- test.pdf

- To merge two .pdf files:

~$ qpdf --empty --pages 1.pdf 2.pdf -- test.pdf

If you are interested in qpdf, once installed, read the
/usr/share/doc/qpdf/README-doc.txt file for a list of URL where to find
documentation.

Cheers,
--
Franco Martelli


Reply to: