image_optim_bin
image_optim_bin copied to clipboard
Statically compiled bins to make image_optim work on Heroku or Linux x86_64
trafficstars
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:
- https://github.com/toy/image_optim
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_BINJPEGTRAN_BINOPTIPNG_BINPNGCRUSH_BINPNGOUT_BINADVPNG_BINADVDEF_BINADVMNG_BINADVZIP_BINGIFSICLE_BIN
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create new Pull Request