rev |
line source |
Hans-G?nter@24137
|
1 QPDF is a command-line program that does structural, content-preserving transformations on PDF files.
|
Hans-G?nter@24137
|
2 It could have been called something like pdf-to-pdf.
|
Hans-G?nter@24137
|
3 It also provides many useful capabilities to developers of PDF-producing software or for people
|
Hans-G?nter@24137
|
4 who just want to look at the innards of a PDF file to learn more about how they work.
|
Hans-G?nter@24137
|
5
|
Hans-G?nter@24137
|
6 QPDF is capable of creating linearized (also known as web-optimized) files and encrypted files.
|
Hans-G?nter@24137
|
7 It is also capable of converting PDF files with object streams (also known as compressed objects)
|
Hans-G?nter@24137
|
8 to files with no compressed objects or to generate object streams from files that don't have them
|
Hans-G?nter@24137
|
9 (or even those that already do).
|
Hans-G?nter@24137
|
10 QPDF also supports a special mode designed to allow you to edit the content of PDF files in a text editor.
|
Hans-G?nter@24137
|
11
|
Hans-G?nter@24137
|
12 QPDF includes support for merging and splitting PDFs through the ability to copy objects from one PDF file
|
Hans-G?nter@24137
|
13 into another and to manipulate the list of pages in a PDF file.
|
Hans-G?nter@24137
|
14 The QPDF library also makes it possible for you to create PDF files from scratch. In this mode,
|
Hans-G?nter@24137
|
15 you are responsible for supplying all the contents of the file, while the QPDF library takes care off all
|
Hans-G?nter@24137
|
16 the syntactical representation of the objects, creation of cross references tables and, if you use them,
|
Hans-G?nter@24137
|
17 object streams, encryption, linearization, and other syntactic details.
|
Hans-G?nter@24137
|
18
|
Hans-G?nter@24137
|
19 QPDF is not a PDF content creation library, a PDF viewer, or a program capable of converting PDF into
|
Hans-G?nter@24137
|
20 other formats. In particular, QPDF knows nothing about the semantics of PDF content streams.
|
Hans-G?nter@24137
|
21 If you are looking for something that can do that, you should look elsewhere.
|
Hans-G?nter@24137
|
22 However, once you have a valid PDF file, QPDF can be used to transform that file in ways perhaps your
|
Hans-G?nter@24137
|
23 original PDF creation can't handle.
|
Hans-G?nter@24137
|
24 For example, programs generate simple PDF files but can't password-protect them, web-optimize them,
|
Hans-G?nter@24137
|
25 or perform other transformations of that type. |