Skip to content

SamVerschueren/mobicon-cli

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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
    --platform, -p      Platform to generate icons for
    --background, -b    Color of the icon background if the icon is transparant [Default: white]
    --contentRatio, -r  Logo-icon ratio [Default: 1]
    --roundedCorners    Generate icons with rounded corners [Default: true for pwa and Android]
    --borderRadius      Border radius percentage [Default: 0.0909]
    --out, -o           Output directory [Default: cwd]

  Examples
    $ mobicon icon.png -p=android
      ✔  success
    $ mobicon icon.png -p=android -p=ios -p=pwa
      ✔  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

About

Mobile icon generator

Resources

License

Stars

Watchers

Forks

Packages

No packages published