Skip to content

Feo/pdf_watermark

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PdfWatermark

Add watermark to your pdf. two external gem will be used: combine_pdf and prawn.

Installation

Add this line to your application's Gemfile:

gem 'pdf_watermark'

And then execute:

$ bundle

Or install it yourself as:

$ gem install pdf_watermark

Usage

require 'pdf_watermark'

PdfWatermark.watermark("Private and Confidential", "content.pdf", "result.pdf", {:margin => 20,:angle=>:diagonal})

Development

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/pdf_watermark. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

The gem is available as open source under the terms of the MIT License.

About

add watermark to pdf files

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 98.1%
  • Shell 1.9%