Nebulous Pumpkin Moons

    genicon-cli

    1.0.6 • Public • Published

    genicon-cli Build Status

    Generate icons for mobile apps and browser extensions/plugins

    Install

    $ npm install --global genicon-cli
    

    Note: Make sure to install GraphicsMagick as well.

    Usage

    $ genicon --help
    
      Usage
        $ genicon <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
        $ genicon icon.png -p=chrome -b=#00FF00
          ✔  success
        $ genicon icon.png -p=android
          ✔  success
        $ genicon icon.png -p=android -p=ios -p=pwa
          ✔  success
        $ genicon 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 © Andre Fortin

    Install

    npm i genicon-cli

    DownloadsWeekly Downloads

    1

    Version

    1.0.6

    License

    MIT

    Unpacked Size

    5.64 kB

    Total Files

    4

    Last publish

    Collaborators

    • andrefortin