Go to TogaWare.com Home Page. GNU/Linux Desktop Survival Guide
by Graham Williams
Duck Duck Go


PDF Linearize for Fast Web

20200526 Linearizing a pdf file results in a fast web view of the file. That is, the pdf will be streamed within a browser so that the first page will be displayed whilst the remaining pages are downloaded. For a non-linearized pdf the file will need to be fully downloaded before being viewed.

Use qpdf to linearize a pdf file.

  $ qpdf --linearize mydoc.pdf faster.pdf

To check if the PDF is linearized by this method try checking the 4th line of the pdf file:

  $ sed '4q;d' faters.pdf
<< /Linearized 1 /L ...

Support further development by purchasing the PDF version of the book.
Other online resources include the Data Science Desktop Survival Guide.
Books available on Amazon include Data Mining with Rattle and Essentials of Data Science.
Popular open source software includes rattle and wajig.
Hosted by Togaware, a pioneer of free and open source software since 1984.
Copyright © 1995-2020 Togaware Pty Ltd. Creative Commons ShareAlike V4.