galkahana/PDF-Writer ? reverse-engineered prompt
Reverse engineered prompt
Build me a fast C++ library for creating, reading, and editing PDF files, with support for working with PDF streams and images. I want it to build cleanly with CMake, include the bundled dependencies in the repo, and come with a solid test setup I can run with ctest. Please make sure it can be used as a library from other projects too, so I can either link it with find_package or bring it in with FetchContent.
It should support the common image formats already implied by the project, and handle PDF 2.0 encryption if OpenSSL is available, with a simple way to turn that off. Keep the code organized, cross platform, and easy to build on Windows, Linux, and macOS. If anything is unclear, check the existing docs or look up current build guidance online and follow the patterns already used here.
Are you gonna build this?
make sure you review the code using coderabbit