Is it possible to create linearized PDFs (optimized for "fast web view") using TeX with free software? (I don't have Acrobat available.)
2 Answers
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, 2012 at 12:29 -
2
pdfopt
is not longer part of ghostscript. Instead ofpdfopt
thepdfwriter
ofgs
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 ofpdfopt
. Mar 10, 2017 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.
-
6Would you also tell about the differences between the two tools? Mar 9, 2012 at 9:16
-