A pure Ruby library for merging PDF files, adding page numbers, watermarks, and stamps.
CombinePDF is a Ruby library that provides tools for merging multiple PDF files, adding page numbers, and applying watermarks or stamps. It solves the need for programmatic PDF manipulation within Ruby applications without requiring external PDF processing software.
Ruby developers who need to automate PDF merging, numbering, or watermarking tasks in their applications, such as generating reports, combining documents, or adding branding.
Developers choose CombinePDF for its pure Ruby implementation, eliminating external dependencies, and its straightforward API for common PDF operations like merging and page numbering.
A Pure ruby library to merge PDF files, number pages and maybe more...
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
No external dependencies, working on any Ruby 2.0+ platform, which simplifies deployment and avoids system-level PDF tooling.
Provides simple operators like `<<` for combining PDFs, with examples for one-liner merges and selective page addition, making basic tasks straightforward.
Offers customizable options for adding page numbers with control over format, location, and styling via the `number_pages` method, including support for ranges and boxes.
Supports loading PDFs from files or memory strings and rendering to memory or disk, useful for web applications and avoiding temporary files.
The library is no longer actively maintained, with the author seeking help, increasing the risk of unresolved bugs and lack of updates for new PDF standards.
Has known issues with PDF forms, links, and encrypted files, often losing data or requiring workarounds like `allow_optional_content: true` to avoid exceptions.
Uses recursive code that can cause stack overflow with heavily nested PDF objects, and some operations may fail quietly on encrypted files without explicit settings.