Mobile app splash screen generator
JavaScript
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
fixtures init Jan 7, 2016
.editorconfig tweaks Mar 30, 2017
.gitattributes init Jan 7, 2016
.gitignore init Jan 7, 2016
.travis.yml ⬆️ mobisplash@0.2.1 Mar 30, 2017
cli.js fix doc Feb 18, 2016
license init Jan 7, 2016
package.json 0.2.0 Mar 30, 2017
readme.md fix doc Feb 18, 2016
test.js init Jan 7, 2016

readme.md

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