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

✨ renderpdf β€” the manual page, but make it cute ✨

okay so bestie, real talk: this is renderpdf, a page from the User Contributed Perl Documentation section of the manual (that's the (1p) vibe, iykyk πŸ’…). She applies a renderer to one or more PDF pages and she is lowkey iconic for it. Let's get into it 🫢


πŸŽ€ NAME πŸŽ€

renderpdf β€” applies a renderer to one or more PDF pages. that's it, that's the whole job, and she ate ✨


🌸 SYNOPSIS 🌸

here's the whole shape of it, no notes:

renderpdf [options] infile.pdf [<pagenums>]

Options:
  -r --renderer=class uses this renderer class (default: CAM::PDF::Renderer::Dump)
  -c --check          validates the page before rendering it
  -d --density=float  sets the X and Y density for the renderer
  -x --xdensity=float sets the X density for the renderer
  -y --ydensity=float sets the Y density for the renderer
  -v --verbose        print diagnostic messages
  -h --help           verbose help message
  -V --version        print CAM::PDF version

and <pagenums>? it's a comma-separated list of page numbers, bestie.

  • Ranges like '2-6' are allowed in the list πŸ‘‘
  • Example: 4-6,2,12,8-9

so yes, you can mix ranges and single pages and she'll just handle it. main character energy fr fr 🌈


πŸ’– DESCRIPTION πŸ’–

She loads the renderer you picked and runs it on the pages you specified of the PDF. That's the whole plot. ✨

And if you specify no pages at all? She doesn't skip, she doesn't sulk β€” she processes all of them. every single one. no cap πŸ’…

The density flags are for the graphical renderers (namely CAM::PDF::Renderer::Text and the like). so like, if you're not using a graphical renderer, don't stress about them β€” but if you are, they're doing the heavy lifting πŸŽ€


πŸ¦‹ SEE ALSO πŸ¦‹

  • CAM::PDF
  • getpdftext

go read those too, bestie, they're the supporting cast and they understood the assignment 🫢


πŸ’œ AUTHOR πŸ’œ

See CAM::PDF. (yes that's the whole thing. she's mysterious like that. 🧚)


okay final sign-off because I love you: this page is from perl v5.36.0, dated 2022-12-08. so if you're reading this, thank the Perl 5.36.0 girlies of December 2022 for keeping the docs cute and the facts exact. periodt πŸ’–βœ¨πŸŒΈ
πŸ“¦ where this page comes from