<commit_before># Guard::ImageOptim [![Gem Version](https://badge.fury.io/rb/guard-image_optim.svg)](http://badge.fury.io/rb/guard-image_optim)
Guard::ImageOptim automatically optimizes your images with image_optim.

## Installation
Add to your `Gemfile`:
```ruby
gem 'guard-image_optim'
```

Require in your `Guardfile`:
```ruby
require "guard/image_optim"
```

Or, add the default Guard::MtHaml template to your `Guardfile` by running:
```bash
$ guard init image_optim
```

## Usage

```ruby
###
# Sample Guardfile block for Guard::ImageOptim
#
# :input         ("images") set input image directory
# :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
[<NAME>](http://ezekielg.com)

## License
Graphite is available under the [MIT](http://opensource.org/licenses/MIT) license.<commit_msg>update readme with nice setting<commit_after># Guard::ImageOptim [![Gem Version](https://badge.fury.io/rb/guard-image_optim.svg)](http://badge.fury.io/rb/guard-image_optim)
Guard::ImageOptim automatically optimizes your images with image_optim.

## Installation
Add to your `Gemfile`:
```ruby
gem 'guard-image_optim'
```

Require in your `Guardfile`:
```ruby
require "guard/image_optim"
```

Or, add the default Guard::MtHaml template to your `Guardfile` by running:
```bash
$ guard init image_optim
```

## Usage

```ruby
###
# 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
[<NAME>](http://ezekielg.com)

## License
Graphite is available under the [MIT](http://opensource.org/licenses/MIT) license.
{'fraction_non_alphanumeric': 0.13793103448275862, 'fraction_numerical': 0.0009319664492078285, 'mean_word_length': 4.408060453400504, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1478054', 'n_tokens_mistral': 709, 'n_tokens_neox': 673, 'n_words': 198}