Manual corrections, v2.7

This commit is contained in:
John Whitington 2024-02-15 15:29:11 +00:00
parent 78d2931da9
commit 24b905bf3f
3 changed files with 4 additions and 4 deletions

View File

@ -28,7 +28,7 @@ o Report number of annotations in -page-info
o Specify image based only on file extension
o -squeeze updates old compression methods
o Show page size summary in -info
o Add -no-merge-struct-trees to prevent merging of structure trees
o Add -no-process-struct-trees to prevent merging of structure trees
Fixes:

Binary file not shown.

View File

@ -4474,14 +4474,14 @@ A basic text to PDF convertor is included in \texttt{cpdf}. It takes a UTF8 text
Simple facilities for making PDFs from PNG and JPEG images are included in \texttt{cpdf}. The resulting file can be written out, or used for further operations.
For PNG files, the file must be 24bit RGB with no transparency and no interlacing:
For PNG files, the file must have no transparency and no interlacing, and must not be palletised:
\begin{framed}
\noindent\small\verb?cpdf -png image.png -o out.pdf?\\
\noindent\small\verb?cpdf -image.png AND -add-text "My Image" -o out.pdf?
\noindent\small\verb?cpdf image.png AND -add-text "My Image" -o out.pdf?
\end{framed}
\noindent Notice that the \texttt{-png} can be omitted if your file has a standard file extension. Almost any JPEG file may be used:
\noindent Notice that the \texttt{-png} can be omitted if your file has a standard file extension. Almost any JPEG file may be used with \texttt{-jpeg} or again, with a standard extension:
\begin{framed}
\noindent\small\verb?cpdf -jpeg image.jpg -o out.pdf?