From dcb8d8887acdb608600d8a0c360f5e0775348240 Mon Sep 17 00:00:00 2001 From: John Whitington Date: Wed, 23 Dec 2020 14:35:09 +0000 Subject: [PATCH] mroe --- cpdfmanual.pdf | Bin 240886 -> 241032 bytes cpdfmanual.tex | 8 +++++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/cpdfmanual.pdf b/cpdfmanual.pdf index 4016d4a2dbf32e1585b3401cea1ce27ccc6c05cd..d5aab78595fb885e040277a82bb70ebccb2fca58 100644 GIT binary patch delta 5601 zcmai1Wmptkw`CYQhVGOWkQ`t@Qo2E;8w7_QQhI1qNaZjLdkm2d;tCuiCIp@uVi3mp@O0 zZ0k^`&6uY)jm)xrpdC=RtyGhmmiXbvlZp0_tA5v7(g;t5x845f@t_pTgjmS_sta_p z3a-n=@FmA=rSM`M3}$NOXK6>>(X!kV;6@6#iMzTtnWM)qD@}Mm=sfblDtb|Db>UD4 z9&v-*cue%TaaR5`n_xTE%CwA$1^g(*BuTj^ONcD4;cuo+Qh!(fel3c<-wor-jU%RF z8kR0a%pe@|0Qad?pswy?bFH_34yaP~2}%JZ>x!gYcDf3KW(wVrsU4yMkdNh%Z_ZtK z`e%Y)`xm0)+bS+!6N(R9wE`31j(4>Jo$07AuD?gQD9t#C%CBy|j?90_MOZ!;V%M9~ z?1IPzon|s?47OrV)_SUAY){Czu+l_tu4d-9))K)}6A{teW3j&-6=3v{yo}RVGA6VC zu&1z^Bt8`i#f4n=|juY{eJsq5(AmUFs&T<8=q8(&H`K-l4<1{kIV3845XjWN}KpwGWz^1 z=NSC%5r!t^yPxp{$+vH4LAMz8L0+!AiG<1Ya2r2sy?s9R{H8X_ixyvrtjF8(<3}bw zr+l$-ezse5jhTzwj+28vzD9|8S-)pClj5_aNG160eVV2O%iZLbfxfUl08hH{)o>lD z*X1@>vJ(y6Wx*oo(C>J^Q!Jo1LX*TS9He!+kbh1#{~RCzqA$)E6poeId8L~xEqMfm zTB}}I2B!NZ)&vW9jcG7W$??-l5{t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ZbF|SAaJ6865R%22<~S( zmH9qBjVLdTO!Mr{8;m&YW5#8*gS(~d=LKQ|@rKoUXooEA&o?Z8zg{HdqOp~J&PPIl`OtCWzB*ES*haK{b+SAE+6*xcworVhU+mo@$oWgF z0|nXzo!is$t%iQ^n1qZE^w2H}-#pm7mkWhIMj++BsQb|*xXg{@QGvgFLqS8N#jWse zk?S3I)TBI@Wn33c46Klmoq2|`Xwd}eIL~N8fpI-~ufi4vKUSqW<8zv!7eM#YrPp&*X)#uAR(nZr{1h%mFFwPM zG3*xhSLZL}xWun0H2h8(t^07bq$QFA{EfyjfL6a_&lu4Crs^N#7`x0DC`Tmtch90| z?`I49KcexaQW3{Va*Srzlzy?u}!=f!qCZ)Mv5x&VV z$B!8myOyB3FOGu#jJ4;q22D$KG?fJjVUFK?vrI;o$jP?-0hPq#;-(*gQQ`!*DbHlL z7+)sgC4e?C9ifSN&<^~iT#Jly@i7%27>f?m3^wfiS|{%8SY{5oAB4qYAKPO4HIk^& zn;J0cJPtg-k&LrbjR+LiQ!hXmdVH>PDac!I_a`|}dD!%2@RWjBNCF_bJmwB(?F673 zh-{-A6`56<$_9Q@bdKDHTrB1uSDZIm9=zX;PK|No5Pl!C$sQzkgv2sQ6khdc_gRhX zm13GuD0l8lJ?kthw$29BUC{=P*;#bm}sJFOe!gaiN(^{BIW@plo4q4>>Pc# e=x7&o1Jd81>B)6!0CH1GL!>AL1$9lJl>Y~^)@bJd diff --git a/cpdfmanual.tex b/cpdfmanual.tex index ed1971d..6be335a 100644 --- a/cpdfmanual.tex +++ b/cpdfmanual.tex @@ -2161,7 +2161,8 @@ The \texttt{-dump-attachments} operation, when given a PDF file and a directory \noindent\small\verb!cpdf -image-resolution in.pdf []! \vspace{1.5mm} -\noindent\small\verb!cpdf -extract-images in.pdf [] [-im ] [-p2p ! +\noindent\small\verb!cpdf -extract-images in.pdf [] [-im ] [-p2p ]! +\noindent\small\verb! [-dedup | -dedup-perpage] -o ! \end{framed} \section{Extracting images} @@ -2169,7 +2170,8 @@ The \texttt{-dump-attachments} operation, when given a PDF file and a directory Cpdf can extract the raster images to a given location. JPEG, JPEG2000 and JBIG2 images are extracted directly. Other images are written as PNGs, processed with either ImageMagick's ``magick'' command, or NetPBM's ``pnmtopng'' program, whichever is installed. \begin{framed} - \noindent\small\verb@cpdf -extract-images in.pdf [] [-im ] [-p2p @ + \noindent\small\verb@cpdf -extract-images in.pdf [] [-im ] [-p2p @ \end{framed} \noindent The \texttt{-im} or \texttt{-p2p} option is used to give the path to the external tool, one of which must be installed. The output specifer, e.g \verb!-o output/%%%! gives the number format for numbering the images. Output files are named serially from 0, and include the page number too. For example, output files might be called \texttt{output/000-p1.jpg}, \texttt{output/001-p1.png}, \texttt{output/002-p3.jpg} etc. Here is an example invocation: @@ -2178,7 +2180,7 @@ Cpdf can extract the raster images to a given location. JPEG, JPEG2000 and JBIG2 \noindent\small\verb@cpdf -extract-images in.pdf -im magick -o output/%%%@ \end{framed} -\noindent The \texttt{output} directory must already exist. +\noindent The \texttt{output} directory must already exist. The \texttt{-dedup} option deduplicates images entirely; the \texttt{-dedup-perpage} option only per page. \section{Detecting Low-resolution Images}\label{imageres}