Mobile icon generator
JavaScript
Switch branches/tags
Clone or download
Latest commit 5881252 May 23, 2016
Permalink
Failed to load latest commit information.
fixtures ⬆️ mobicon@1.0.0 Jan 5, 2016
.editorconfig 💄 May 22, 2016
.gitattributes init Dec 22, 2015
.gitignore init Dec 22, 2015
.travis.yml 💄 May 22, 2016
cli.js ⬆️ mobicon@1.0.0 Jan 5, 2016
license init Dec 22, 2015
package.json v2.1.1 May 22, 2016
readme.md ⬆️ mobicon@1.0.0 Jan 5, 2016
test.js 💄 May 22, 2016

readme.md

mobicon-cli Build Status

Mobile app icon generator

Install

$ npm install --global mobicon-cli

Note: Make sure to install GraphicsMagick as well.

Usage

$ mobicon --help

  Usage
    $ mobicon <file>

  Options
    -p, --platform      Platform to generate icons for
    -b, --background    Color of the icon background if the icon is transparant [Default: white]
    -r, --contentRatio  Logo-icon ratio [Default: 1]
    -o, --out           Output directory [Default: cwd]

  Examples
    $ mobicon icon.png -p=android
      ✔  success
    $ mobicon icon.png -p=android -p=ios
      ✔  success
    $ mobicon icon.svg -p=ios -o=resources
      ✔  success

Platforms

A list of the available platforms and their generated icons can be found here.

Related

License

MIT © Sam Verschueren