Open Source Ruby Library to Generate PDF Processing Apps
Free Ruby PDF API that enables developers to analyze, modify and create malicious PDF files with ease. Encrypt PDF documents using RC4 or AES.
Origami is a pure Ruby library that enables software developers to create powerful apps for handling PDF documents using Ruby commands. The library has provided support for analyzing, modifying, or creating malicious PDF files with ease. Origami can also write your own set of Ruby scripts suited to your needs. The library has provided support for PDF document encryption using RC4 or AES. The library is very fast and memory-efficient intended for auditing PDFs.
At A Glance
An overview of Origami features.
- Generate PDFs
- analyze PDFs
- PDF encoding
- Modify PDFs
- Add styles
- Add tables
- Add attachment
- Add header/footer
- Render PDF
Origami supports PDF file format as well as industry-standard formats for export.
Origami only requires Ruby runtime.
- Ruby 1.2 and above.
Getting Started with Origami
To install the Origami on your system, please run the following command.
Install Origami with ruby gems
gem install origami
PDF Creation via Ruby Library
The open source Ruby library Origami enables software developers to generate and process PDF documents inside their own applications. Developers can easily create new PDF documents by directly instantiating a new PDF object. It supports several important features such as adding a new page, inserting an image, add flash-object, attach documents to PDF, encrypt PDF documents, and much more.
Embedded Flash SWF File in PDFs
The Origami Ruby library allows software developers to programmatically create a PDF document with an embedded SWF file. While creating a new PDF file you can easily embed a flash asset inside a PDF document. After that, you can also generate a flash annotation on the page and can set the player position on the page. The library also supports add or remove an object to the PDF file, attach an embedded file to the PDF, Exports the document Graphic file, and much more.
Extract Data from PDF via Ruby