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

πŸ’– DELETEPDFPAGE(1p) πŸ’–

okay bestie, welcome to a little corner of the User Contributed Perl Documentation, section 1p, and today's main character is deletepdfpage. she's here to yeet pages out of your PDFs and she's very good at it πŸ’…


🌸 NAME 🌸

deletepdfpage β€” Remove one or more pages from a PDF πŸ¦‹


✨ SYNOPSIS ✨

deletepdfpage [options] infile.pdf <pagenums> [outfile.pdf]

Options:
  -o --order          preserve the internal PDF ordering for output
  -v --verbose        print diagnostic messages
  -h --help           verbose help message
  -V --version        print CAM::PDF version

<pagenums> is a comma-separated list of page numbers.
     Ranges like '2-6' allowed in the list
     Example: 4-6,2,12,8-9

like, yes, that's the whole vibe. no cap 🌈


πŸ‘‘ DESCRIPTION πŸ‘‘

so what she does is remove the specified pages from a PDF document. periodt. you hand her a PDF, you tell her which pages gotta go, and she sends them to the shadow realm ✨

heads up though, bestie 😭 this may fail for very complex, annotated PDF files, for example ones that Adobe Illustrator emits. not her fault, the PDF is just built different πŸ’€

πŸŽ€ OPTIONS πŸŽ€

  • -o, --order β€” preserve the internal PDF ordering for output 🫢
  • -v, --verbose β€” print diagnostic messages, so you can see exactly what she's doing πŸ”₯
  • -h, --help β€” gives you a verbose help message πŸ“–
  • -V, --version β€” prints the CAM::PDF version, iykyk ⭐

and for the <pagenums> argument, it's a comma-separated list of page numbers. ranges like 2-6 are allowed in the list β€” for example: 4-6,2,12,8-9 πŸ’–


🧚 SEE ALSO 🧚

  • CAM::PDF
  • "appendpdf"

πŸ’œ AUTHOR πŸ’œ

See CAM::PDF


and that's the whole page, bestie πŸŽ€ this was DELETEPDFPAGE(1p) from perl v5.36.0, dated 2022-12-08 β€” mwah, slay, go delete some pages πŸ’…βœ¨πŸŒΈ

πŸ“¦ where this page comes from