/asset-generator

The easiest way to export psd to favicon, WebClip and many others.

Primary LanguageRubyMIT LicenseMIT

Assetfile

The easiest way to export psd to favicon, WebClip and many others.

Requirement

  • Ruby
  • ImageMagick

Installation

  1. Put Rakefile into your project.
  2. Write your own Assetfile.
  3. Run bundle install
  4. Run bundle exec rake asset:generate to generate assets.

Specimen

assets/logo.psd:
  export:
    icons/favicon.ico:    16x16
    apple-touch-icon.png: 72x72

assets/mock.psd:
  slice: true