How to Extract Pages from a PDF: Difference between revisions

From Open Source Ecology
Jump to navigation Jump to search
(Created page with "pdftk full-pdf.pdf cat 12-15 output outfile_p12-15.pdf")
 
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
=About=
How do you extract pages from a PDF doc?
pdftk full-pdf.pdf cat 12-15 output outfile_p12-15.pdf
pdftk full-pdf.pdf cat 12-15 output outfile_p12-15.pdf
=Usage Example to Extract Page 2-3 from a File Named 1.pdf=
cd Desktop
sudo apt install pdftk
pdftk 1.pdf cat 2-3 output Hybrid_Inverter.pdf
=More=
Combine multiple PDFs:
$ pdftk 1.pdf 2.pdf 3.pdf 4.pdf cat output bigun.pdf
=Notes=
*I broke up a 1.1MB PDF into 2, recombined - and the result was 800k. Does the file compress iteratively, so doing this multiple times loses content? Good for making PDFs small.

Latest revision as of 21:15, 11 April 2025

About

How do you extract pages from a PDF doc?

pdftk full-pdf.pdf cat 12-15 output outfile_p12-15.pdf

Usage Example to Extract Page 2-3 from a File Named 1.pdf

cd Desktop

sudo apt install pdftk

pdftk 1.pdf cat 2-3 output Hybrid_Inverter.pdf

More

Combine multiple PDFs:

$ pdftk 1.pdf 2.pdf 3.pdf 4.pdf cat output bigun.pdf

Notes

  • I broke up a 1.1MB PDF into 2, recombined - and the result was 800k. Does the file compress iteratively, so doing this multiple times loses content? Good for making PDFs small.