Skip to content

benmel/whatcolor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Whatcolor

  • Gem which detects the color of pages in a PDF
  • If a page has a certain amount of color it's considered a color page
  • Otherwise it's considered black and white
  • PDFs and images can be analyzed
  • Helpful for printing applications, where number of color/B&W pages needs to be known
  • Requires imagemagick and ghostscript programs

Installation

Add this line to your application's Gemfile:

gem 'whatcolor'

And then execute:

$ bundle

Or install it yourself as:

$ gem install whatcolor

Usage

TODO: Write usage instructions here

Contributing

  1. Fork it ( https://github.com/[my-github-username]/whatcolor/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

About

Ruby gem that determines color of document pages

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages