Use new endpage_fast
This commit is contained in:
parent
0234445fc6
commit
c3efb33390
1
Changes
1
Changes
|
@ -18,6 +18,7 @@ o List images on a page with -list-images[-json]
|
|||
o Chop pages up into sections with -chop
|
||||
o Build PDF files from JBIG2 streams, including globals
|
||||
o Reprocess images within PDFs to further compress them
|
||||
o New -pages-fast to print number of pages from /Count
|
||||
|
||||
Extended features:
|
||||
|
||||
|
|
|
@ -955,7 +955,7 @@ let rec decrypt_if_necessary (_, _, user_pw, owner_pw, was_dec_with_owner, _) op
|
|||
|
||||
(* Output Page Count *)
|
||||
let output_page_count pdf =
|
||||
Printf.printf "%i\n" (Pdfpage.endpage pdf)
|
||||
Printf.printf "%i\n" ((if args.fast then Pdfpage.endpage_fast else Pdfpage.endpage) pdf)
|
||||
|
||||
let detect_duplicate_op op =
|
||||
match args.op with
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
%Document -extract-images JBIG2 for how to use jbig2dec
|
||||
%Document -jbig2 / -jbig2globals
|
||||
%Document -process-images
|
||||
%Document -pages -fast
|
||||
\documentclass{book}
|
||||
% Edit here to produce cpdfmanual.pdf, cpdflibmanual.pdf, pycpdfmanual.pdf,
|
||||
% dotnetcpdflibmanual.pdf, jcpdflibmanual.pdf jscpdflibmanual.pdf etc.
|
||||
|
|
Loading…
Reference in New Issue