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


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.) 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. Mar 10 '17 at 8:57

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.

  • 6
    Would you also tell about the differences between the two tools? Mar 9 '12 at 9:16
  • @AndreyVihrov: done. 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.