SamVerschueren / mobisplash-cli

Mobile app splash screen generator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mobisplash-cli Build Status

Mobile app splash screen generator

Install

$ npm install --global mobisplash-cli

Usage

$ mobisplash --help

  Usage
    $ mobisplash <file>

  Options
    -p, --platform      Platform to generate splash screens for
    -b, --background    Color of the splash screen background [Default: white]
    -r, --contentRatio  Logo-splash screen ratio [Default: 0.8]
    -o, --out           Output directory [Default: cwd]
    --orientation       Orientation to generate the splash screens for [Default: both]
    --9patch            9-patch the Android splash screens [Default: true]

  Examples
    $ mobisplash icon.png -p=android
      ✔  success
    $ mobisplash icon.png -p=android --no-9patch
      ✔  success
    $ mobisplash icon.png -p=android -p=ios --orientation=landscape
      ✔  success
    $ mobisplash icon.svg -p=ios -o=resources
      ✔  success
    $ mobisplash icon.svg -p=blackberry10 -o=resources --orientation=portrait
      ✔  success

Platforms

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

Related

License

MIT © Sam Verschueren

About

Mobile app splash screen generator

License:MIT License


Languages

Language:JavaScript 100.0%