LISTIMAGES(1p)
π¦ LISTIMAGES π
okay bestie, so this is listimages, a lil Perl script from the User Contributed Perl Documentation corner of the manual, section 1p. and what does it do? it saves copies of all the PDF JPG images to a directory. yes queen. that's the whole vibe. π
β¨ SYNOPSIS β¨
listimages [options] infile.pdf
Options:
-v --verbose print diagnostic messages
-h --help verbose help message
-V --version print CAM::PDF version
so like. you hand it one PDF, infile.pdf, you sprinkle on some options if you're feeling spicy, and off it goes. that's it. that's the whole thing. no cap. π
πΈ OPTIONS πΈ
-v,--verboseβ makes it chatty. prints diagnostic messages so you can see what it's doing behind the scenes. lowkey useful when you're like "girl what is happening" π-h,--helpβ gives you a verbose help message. the full rundown. the whole lore. read it. π-V,--versionβ prints the CAM::PDF version. classic. every tool's gotta flex its version number, and honestly? iconic of it. π
π₯ DESCRIPTION π₯
so here's the tea π: it searches the PDF for images and then lists them on STDOUT in one of these two formats, okay? pay attention bestie, there's two of them:
Image <n> page <p>, (w,h)=(<w>,<h>), ref <label> = object <objnum>, length <l>\n";
Image <n> page <p>, (w,h)=(<w>,<h>), inline
see how the first one is giving referenced object energy β it's got the ref <label>, the object <objnum>, and a length <l> all up in there β¨ β while the second one is just like inline, no reference, no drama, no object number, just vibes. π¦
β οΈ heads up: yes, that \n"; at the end of the first format line is literally there in the original. do not come for me. copy it exactly if you're matching output. periodt. π
π SEE ALSO π
go check these out too, they're all in the same friend group:
- CAM::PDF
- crunchjpgs
- extractallimages
- extractjpgs
- uninlinepdfimages
π AUTHOR π
See CAM::PDF β yeah that's it, that's the author section. mysterious. elusive. we stan a private queen. π«Ά
okay and for the lil sign-off: this whole page is riding with perl v5.36.0, dated 2022-12-08, filed under LISTIMAGES(1p). slay, bye bestie, go extract some images πβ¨π
π¦ 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