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 -jPDF 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.
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
_______________________________________
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
_______________________________________
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
Post a Comment