jberkenbilt/qpdf ? reverse-engineered prompt
Reverse engineered prompt
Build me a C++ command line tool and reusable library for working with PDF files in a low level way. I want it to preserve the original content while making common changes like linearizing, encrypting, splitting, merging, and inspecting PDFs for analysis. It should also be able to create PDFs if I provide the content, but it does not need to render pages or extract text. Make it feel like a real developer tool, with a solid library API, a command line app, and documentation for how to use it. Please set it up so it builds cleanly with CMake, includes tests, and supports the usual compression and crypto options where available. If you need current details for PDF handling or build setup, look up the latest docs online and match the project to that.
Are you gonna build this?
make sure you review the code using coderabbit