Changes for 1.8, better cleaning

This commit is contained in:
John Whitington 2014-10-29 16:30:25 +00:00
parent 7c59c36fed
commit f9213ad019
4 changed files with 27 additions and 3 deletions

18
Changes
View File

@ -1,2 +1,18 @@
Version 1.8 (October 2014)
Version 1.8 (November 2014)
o New external linearizer cpdflin replaces original one
o Encryption now much, much faster.
o Faster parsing of delayed object streams on large files
o -decompress now leaves object streams decompressed
o New -squeeze option to reduce the size of PDF files
o Select pages by landscape-ness or portrait-ness in a page range
o New -set-open-action option
o New -recrypt option to re-encrypt output
o Reads XML metadata and outputs it on -info
o New -center position for text
o -stamp can now use positions, just like stamping text
o Better handling of permissions for files with user passwords
o Can encrypt output of -split-bookmarks now
o -args replaces -control with better behaviour
o Can scale a stamp to fit before stamping with -scale-stamp-to-fit

View File

@ -14,7 +14,7 @@ OCAMLLDFLAGS = -g
all : native-code native-code-library byte-code-library top htdoc
clean ::
rm -rf doc
rm -rf doc foo foo2 out.pdf out2pdf
LIBINSTALL_FILES = cpdf.a cpdf.cma cpdf.cmxa \
$(foreach x,$(MODS),$x.mli) $(foreach x,$(MODS),$x.cmi)

Binary file not shown.

View File

@ -179,9 +179,17 @@ example:
\begin{framed}
\small\verb!cpdf in.pdf user=fred reverse -o out.pdf!
\end{framed}
\noindent To re-encrypt the file with its existing encryption upon writing, which is required if only the user password was supplied, but allowed in any case, add the \texttt{-recrypt} option:
\begin{framed}
\small\verb!cpdf in.pdf user=fred reverse -recrypt -o out.pdf!
\end{framed}
\noindent The password required (owner or user) depends upon the operation
being performed. Separate facilities are provided to decrypt and encrypt files
(See \Sref{crypt}).
(See \Sref{crypt}).
\section{Standard Input and Standard Output}
\index{standard input} \index{standard output}
Thus far, we have assumed that the input PDF will be read from a file on