EXTRACTJPGS(1p)
π NAME π
extractjpgs β bestie, this saves copies of all the JPG images inside a PDF into a directory. every single one. slay. π
β¨ SYNOPSIS β¨
extractjpgs [options] infile.pdf outdirectory
okay so here's the whole options menu, no gatekeeping:
-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 β it's telling you which images, in the order they show up in the PDF. and use listimages to retrieve the image numbers, like that's your little lookup bestie, don't guess. π
πΈ OPTIONS πΈ
-S,--skip=imnumβ skips the image(s) you name so they don't get written out. and the way you can stack this β use it multiple times if you've got several you're over. π-v,--verboseβ prints diagnostic messages, so you can see what's going on instead of just vibing in silence.-h,--helpβ gives you the verbose help message. ask and you shall receive. π«Ά-V,--versionβ prints the CAM::PDF version. iconic info.
π¦ DESCRIPTION π¦
requires the ImageMagick convert program to be available. no convert, no vibes. π
so what it does: it searches the PDF for JPG images and saves them as individual files in the directory you specified. main character behaviour fr fr. π
the files get named like this, exactly:
<imnum>.jpg
like <imnum> gets swapped for the actual image number, iykyk. π
π SEE ALSO π
go check out the whole friend group:
CAM::PDFcrunchjpgslistimagesextractallimagesuninlinepdfimages
π AUTHOR π
see CAM::PDF β that's where the author tea lives. π
and that's a wrap bestie π this page came to you courtesy of the User Contributed Perl Documentation, running on perl v5.36.0, dated 2022-12-08. periodt. β¨π
π¦ where this page comes from
- debian bookworm: libcam-pdf-perl 1.60-5 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libcam-pdf-perl 1.60-5 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libcam-pdf-perl 1.60-5 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libcam-pdf-perl 1.60-5 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libcam-pdf-perl 1.60-5 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms