Mobile app icon generator
$ npm install --global mobicon-cli
Note: Make sure to install GraphicsMagick as well.
$ 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
A list of the available platforms and their generated icons can be found here.
- mobicon - API for this module
MIT © Sam Verschueren