cordova-icon-generator

0.0.4 • Public • Published

cordova-icon-generator

Node.js script to generate icons (iOS & Android) for Cordova.

The images sizes & filenames to be generated are hardcoded in this script.

Reference: Cordova documentation: Customize Icons

Feed this script an image (preferably high-resolution and rectangular) and it will generate the Icon images Cordova recommends for iOS and Android platform.

Required parameters:

  • -s (or --source): the source image
  • -o (or --output): the destination folder

Optional parameters:

  • -t (or --targets): filter the platform targets (ios|android)
  • -r (or --round): create rounded corners

Dependencies (4)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i cordova-icon-generator

    Weekly Downloads

    0

    Version

    0.0.4

    License

    Unlicense

    Last publish

    Collaborators

    • uschoo