Scroll to navigation

EXTRACTALLIMAGES(1p) User Contributed Perl Documentation EXTRACTALLIMAGES(1p)

NAME

extractallimages - Save copies of all PDF images to a directory

SYNOPSIS

 extractallimages [options] infile.pdf outdirectory
 Options:
   -O --only=imnum     only output the specified images (can be used multiple times)
   -S --skip=imnum     don't output the specified images (can be used multiple 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 to retrieve the image numbers.

DESCRIPTION

Requires the ImageMagick convert program to be available

Searches the PDF for images and saves them as individual files in the specified directory. The files are named "<imnum>.jpg" or "<imnum>.gif".

SEE ALSO

CAM::PDF

crunchjpgs

listimages

extractjpgs

uninlinepdfimages

AUTHOR

See CAM::PDF

2022-12-08 perl v5.36.0