No commit activity in last 3 years
No release in over 3 years
Guard::ImageOptim automatically optimizes your images with image_optim.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

 Project Readme

Guard::ImageOptim Gem Version

Guard::ImageOptim automatically optimizes your images with image_optim.

Installation

Add to your Gemfile:

gem 'guard-image_optim'

Require in your Guardfile:

require "guard/image_optim"

Or, add the default Guard::MtHaml template to your Guardfile by running:

$ guard init image_optim

Usage

###
# Sample Guardfile block for Guard::ImageOptim
#
# :input         ("images") set input image directory
# :nice          (10)       nice level for image_optim gem
# :notifications (true)     toggle guard notifications
# :run_at_start  (false)    optimize images when guard starts
# :pngout        (false)    toggle pngout for image_optim gem
# :svgo          (false)    toggle svgo for image_optim gem
###
guard :image_optim, :input => "images"

Authors

Ezekiel Gabrielse

License

Graphite is available under the MIT license.