Sha256: 539f41a3e59b061a8ed9ddd8b957f312dab96ee0895306a078f78d5a17b93447

Contents?: true

Size: 1.51 KB

Versions: 1

Compression:

Stored size: 1.51 KB

Contents

# IconGenerator

[![Gem Version](https://badge.fury.io/rb/icon_generator.png)](http://badge.fury.io/rb/icon_generator)
[![Code Climate](https://codeclimate.com/github/adamnbowen/icon_generator.png)](https://codeclimate.com/github/adamnbowen/icon_generator)
[![Build Status](https://travis-ci.org/adamnbowen/icon_generator.png)](https://travis-ci.org/adamnbowen/icon_generator)
[![Dependency Status](https://gemnasium.com/adamnbowen/icon_generator.png)](https://gemnasium.com/adamnbowen/icon_generator)

Generates Apple Touch Icons or a multiresolution (32x32 and 16x16)
favicon given a square image.

## Installation

    $ gem install icon_generator

## Dependencies

* Ruby 1.9.3 and up
* ImageMagick
* [Thor](http://whatisthor.com/)

## Usage

To generate a set of apple-touch-icons:

    $ icon_generator touch my/source/file.png my/output/directory

To generate a multiresolution favicon:

    $ icon_generator favicon my/source/file.png my/output/directory

To generate both at once:

    $ icon_generator generate --favicon my/source/favicon.png --touch my/source/touch.png my/output/directory

The generic `generate` task will work whether both `--favicon` and
`--touch` are present or not:

    $ icon_generator generate --favicon my/source/favicon.png my/output/directory

## Testing

    $ rake test

## 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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
icon_generator-0.9.0 README.md