/image_optim_bin

Statically compiled bins to make image_optim work on Heroku or Linux x86_64

Primary LanguageRubyMIT LicenseMIT

ImageOptimBin

Statically compiled bins to make image_optim work on Heroku or Linux x86_64 platform.

Not Maintained

This gem is no longer maintained. It may or may not work for you. If you happen to fix something or make it better, pull request will be accepted.

Some alternatives:

Installation

Add this line to your application's Gemfile:

gem 'image_optim_bin'

And then execute:

$ bundle

Or install it yourself as:

$ gem install image_optim_bin

Usage

This gem sets ENV variables for the individual bins:

  • JPEGOPTIM_BIN
  • JPEGTRAN_BIN
  • OPTIPNG_BIN
  • PNGCRUSH_BIN
  • PNGOUT_BIN
  • ADVPNG_BIN
  • ADVDEF_BIN
  • ADVMNG_BIN
  • ADVZIP_BIN
  • GIFSICLE_BIN

Contributing

  1. Fork it
  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 new Pull Request