GETPDFPAGEOBJECT(1)

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

πŸ’– GETPDFPAGEOBJECT(1) πŸ’–

okay so bestie, welcome to getpdfpageobject.pl, a lil Perl script from the CAM::PDF universe β€” this is the User Contributed Perl Documentation corner of the manual, and this page? it's the one that hands you your PDF's page metadata. iconic behavior honestly πŸŽ€


✨ NAME ✨

getpdfpageobject.pl β€” prints the PDF page metadata. that's it, that's the whole job. lowkey perfect. πŸ’…


🌸 SYNOPSIS 🌸

getpdfpageobject.pl [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

so yeah, you feed it an infile.pdf and a pagenum β€” like, which page you're curious about β€” plus whatever options you're feeling. slay. 🌈


πŸ¦‹ OPTIONS πŸ¦‹

  • -d, --decode β€” uncompress any elements. the stuff hiding in compression? not hiding anymore bestie 🫢
  • -c, --content β€” show the page Contents field only. laser focus, no distractions, main character energy ⭐
  • -v, --verbose β€” print diagnostic messages. she talks a lot, but it's cute πŸ’¬
  • -h, --help β€” verbose help message. the full rundown ✨
  • -V, --version β€” print CAM::PDF version. gotta know which era of the library you're living in πŸ‘‘

πŸ’œ DESCRIPTION πŸ’œ

so what does it actually do, you ask? it retrieves the page metadata from the PDF. that's the whole vibe check πŸ“„βœ¨

if --verbose is specified, the memory representation is dumped to STDOUT. like, the whole internal picture, just… handed to you. no cap 🫠

otherwise? the program silently returns success, or emits a failure message to STDERR. quiet queen behavior β€” she either says nothing and it's fine, or she's telling you something went wrong on STDERR. either way, you'll know. πŸ’€

ngl, the quiet path is genuinely quiet β€” success = silence, so don't sit there waiting for a lil confirmation message. πŸ™ˆ

πŸŽ€ SEE ALSO πŸŽ€

  • CAM::PDF
  • getpdfpage.pl
  • setpdfpage.pl

the whole friend group fr fr πŸ«ΆπŸ’–


🌟 AUTHOR 🌟

See CAM::PDF. yeah β€” the author info lives over there, go peek πŸ‘€


okay that's the page!! ily, go read some PDF metadata πŸ’•

β€” this lil gem comes from perl v5.42.3, dated 2013-08-15, filed under GETPDFPAGEOBJECT(1) in the CAM::PDF docs β€” mwah, bye bestie! 🧚✨

πŸ“¦ where this page comes from