extractjpgs.pl - Save copies of all PDF JPG images to a directory
extractjpgs.pl [options] infile.pdf outdirectory Options: -S --skip=imnum don't output the specified images (can be used mutliple times) -v --verbose print diagnostic messages -h --help verbose help message -V --version print CAM::PDF version
imnum is a comma-separated list of integers indicating the images in order that they appear in the PDF. Use listimages.pl to retrieve the image numbers.
imnum
Requires the ImageMagick convert program to be available
Searches the PDF for JPG images and saves them as individual files in the specified directory. The files are named <imnum>.jpg.
<imnum>.jpg
CAM::PDF
crunchjpgs.pl
listimages.pl
extractallimages.pl
uninlinepdfimages.pl
See CAM::PDF
To install CAM::PDF, copy and paste the appropriate command in to your terminal.
cpanm
cpanm CAM::PDF
CPAN shell
perl -MCPAN -e shell install CAM::PDF
For more information on module installation, please visit the detailed CPAN module installation guide.