extract pages or images from PDF on the command line

how to extract pages or images from PDF on the command line:

this is especially useful, if you have a lot of PDF files, and you wish to automate the process.
_______________________________________
extract pages: use pdftk

http://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/

from the command line:
pdftk burst

_______________________________________
extract images: use pdfimages
pdfimages is a 'nix tool to extract images from a PDF file.

here is a Windows implementation of pdfimages:
http://www.foolabs.com/xpdf/download.html

from the command line - to extract to JPG format:
pdfimages -j PDF file> myImageFilePrefix

_______________________________________
other operations on PDF files
both of the tools mentioned above have lots more functionality, and the output is in my experience always of high quality.

Comments