Skip to content

tabascopepper/pdf_tools

 
 

Repository files navigation

Gem Version RuboCop Maintainability

PdfTools

Ruby wrapper for the PDF Tools command-line utils. https://www.pdf-tools.com/

Installation

Add this line to your application's Gemfile:

gem 'pdf_tools'

And then execute:

$ bundle

Or install it yourself as:

$ gem install pdf_tools

Usage

Native support for next tools are available:

  • 3-Heights™ PDF Merge Split
  • 3-Heights™ Image to PDF Converter
  PdfTools::Tool::ImageToPdf.new do |tool|
    tool.lk "license key"
    tool.f
    tool << "input.tif"
    tool << "output.pdf"
  end
  PdfTools::Tool::MergeSplit.new do |tool|
    tool.lk "license key"
    tool.m
    tool << "in1.pdf"
    tool.ot "Bookmark"
    tool << "in2.pdf"
    tool << "out.pdf"
  end

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/ldrner/pdf_tools.

About

Ruby wrapper for the PDF Tools command-line utils. https://www.pdf-tools.com/

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 98.9%
  • Shell 1.1%