19

Is it possible to create linearized PDFs (optimized for "fast web view") using TeX with free software? (I don't have Acrobat available.)

11

The fast web view is simply a method of allowing content to be displayed as it is being downloaded.

It will not, however, be fast. As such the name fast can be deviating from its meaning.

You should use qpdf --linearize as noted by @MartinSchroeder (pdfopt is deprecated as noted in the comments).

PDFcrop will also do that for you, however with additional work done, i.e. cropping your PDF.

  • 1
    pdfopt does the job. (In Adobe Reader, under properties it now says, "Fast Web View: Yes", that's all I wanted.) – fuenfundachtzig Mar 8 '12 at 12:29
  • 2
    pdfopt is not longer part of ghostscript. Instead of pdfopt the pdfwriter of gs provides an option -dFastWebView=true. So you have to use, e.g., gs -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -dFastWebView=true -sOutputFile=output.pdf input.pdf instead of pdfopt. – Schweinebacke Mar 10 '17 at 8:57
27

Use qpdf --linearize, not pdfopt.

qpdf uses a pdf library while pdfopt uses ghostscript and as such has a much larger footprint and is more fragile.

  • 5
    Would you also tell about the differences between the two tools? – Andrey Vihrov Mar 9 '12 at 9:16
  • @AndreyVihrov: done. – Martin Schröder Mar 9 '12 at 9:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.