Chap 4 fixes

This commit is contained in:
John Whitington 2023-06-10 17:07:09 +01:00
parent 08cbee5623
commit 62ce438827
2 changed files with 3 additions and 3 deletions

Binary file not shown.

View File

@ -1756,7 +1756,7 @@ common. In this event, PDF viewers will typically not prompt for a
password for when opening the file or for operations allowable with the user password. password for when opening the file or for operations allowable with the user password.
\begin{framed} \begin{framed}
\vspace{1.5mm} \vspace{1.5mm}
\small\verb!cpdf -encrypt AES256 fred "" -no-forms in.pdf -o out.pdf! \small\verb!cpdf -encrypt AES256ISO fred "" -no-forms in.pdf -o out.pdf!
\end{framed} \end{framed}
\noindent In addition, the usual method can be used to give the existing owner \noindent In addition, the usual method can be used to give the existing owner
password, if the document is already encrypted. password, if the document is already encrypted.
@ -1867,7 +1867,7 @@ Recompressing document
Final file size is 187200 bytes, 78.60% of original. Final file size is 187200 bytes, 78.60% of original.
\end{verbatim} \end{verbatim}
\noindent The \texttt{-squeeze-log-to <filename>} option writes the log to the given file instead of to standard output. Log contents is appended to the end of the log file, preserving existing contents. \noindent The \texttt{-squeeze-log-to <filename>} option writes the log to the given file instead of to standard output. Log content is appended to the end of the log file, preserving existing contents.
There are two options which turn off parts of the squeezer. They are \texttt{-squeeze-no-recompress} for avoiding the reprocessing of compressed sections (especially useful if they are malformed), and \texttt{-squeeze-no-pagedata} for avoiding the reprocessing of page data (ditto). These two options also make the process much faster at the cost of a little less compression. Experiment. There are two options which turn off parts of the squeezer. They are \texttt{-squeeze-no-recompress} for avoiding the reprocessing of compressed sections (especially useful if they are malformed), and \texttt{-squeeze-no-pagedata} for avoiding the reprocessing of page data (ditto). These two options also make the process much faster at the cost of a little less compression. Experiment.