EXTRACTALLIMAGES(1)

πŸ“¦ version 1.60, in nixos 26.05, nixpkgs unstable

πŸ’… EXTRACTALLIMAGES.PL β€” like, the whole NAME situation ✨

okay so bestie, this is extractallimages.pl β€” it saves copies of all the PDF images into a directory. that's the whole gig. main character energy fr fr πŸŽ€


🌸 SYNOPSIS 🌸

extractallimages.pl [options] infile.pdf outdirectory

Options:
  -O --only=imnum     only output the specified images (can be used mutliple times)
  -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

so imnum is a comma-separated list of integers β€” and those integers are the images in the order they show up in the PDF, iykyk. πŸ¦‹ need the image numbers first? run listimages.pl, it literally exists for this πŸ’œ


✨ DESCRIPTION ✨

heads up bestie: this whole thing requires the ImageMagick convert program to be available. no convert, no vibes. πŸ’€

what it does: it searches the PDF for images and saves them as individual files in the directory you specified. the files get named <imnum>.jpg or <imnum>.gif β€” iconic, consistent, no notes πŸ‘‘


🌈 OPTIONS 🌈

  • -O, --only=imnum β€” only output the specified images. you can use this multiple times (yes, multiple, stack 'em up) πŸ’–
  • -S, --skip=imnum β€” don't output the specified images. also stackable, use it multiple times 🚫
  • -v, --verbose β€” print diagnostic messages, so you can actually see what's happening 🫢
  • -h, --help β€” a verbose help message, for when you need the full lore πŸ“–
  • -V, --version β€” prints the CAM::PDF version ⭐

πŸ¦‹ SEE ALSO πŸ¦‹

  • CAM::PDF
  • crunchjpgs.pl
  • listimages.pl
  • extractjpgs.pl
  • uninlinepdfimages.pl

like, go read those too, they're all in the same friend group πŸ’•


πŸŽ€ AUTHOR πŸŽ€

see CAM::PDF β€” that's where the author deets live, bestie 🧚


and that's a wrap! πŸ’œ this page is from perl v5.42.3, dated 2013-08-15 β€” vintage but still slaying ✨ mwah, go extract some images πŸ“

πŸ“¦ where this page comes from