EXTRACTJPGS(1p)

πŸ“¦
version 1.60 Β· 2 versions
  • 1.60 Β· debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking (latest)
  • 1.60 Β· ubuntu jammy
, in debian bookworm, debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– 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::PDF
  • crunchjpgs
  • listimages
  • extractallimages
  • uninlinepdfimages

πŸŽ€ 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