GETPDFPAGEOBJECT(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

✨ 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 exists
  • getpdfpage
  • setpdfpage

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