GETPDFPAGEOBJECT(1p)
β¨ GETPDFPAGEOBJECT β¨
ok so like. this is the manual page for getpdfpageobject(1p) and bestie it is SO much simpler than it sounds, i promise π«Ά it's a lil command that pulls the page metadata out of a PDF, that's it, that's the whole vibe.
πΈ NAME πΈ
getpdfpageobject β print the PDF page metadata π
π SYNOPSIS π
getpdfpageobject [options] infile.pdf pagenum
Options:
-d --decode uncompress any elements
-c --content show the page Contents field only
-v --verbose print diagnostic messages
-h --help verbose help message
-V --version print CAM::PDF version
like. two positional args and a lil pile of flags. iconic. you hand it a PDF file and a page number and it goes off π¦
β¨ DESCRIPTION β¨
So basically it retrieves the page metadata from the PDF. that's the whole job. very demure, very mindful π
Now here's the tea on how it talks back to you: if --verbose is specified, the memory representation is dumped to STDOUT. otherwise the program is lowkey silent β it just silently returns success, or it emits a failure message to STDERR if things go sideways π so if you're sitting there like "why is nothing printing" that's not a bug bestie that's the design.
heads up: no --verbose means no dump. the quiet is intentional. don't @ me.
π SEE ALSO π
CAM::PDFβ the whole reason this existsgetpdfpagesetpdfpage
the little family of page-adjacent tools. get, set, and this one. a trio fr fr π
π AUTHOR π
See CAM::PDF β that's literally it, go look over there π
ok that's the whole page, you ate it, you understood it, slay β this was getpdfpageobject(1p), straight out of the User Contributed Perl Documentation, running under perl v5.36.0, dated 2022-12-08 π mwah, go uncompress some elements, you've got this π
π¦ 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