Skip to content

SamVerschueren/mobisplash-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published