0.2.1 • Published 9 years ago

cordova-res-builder v0.2.1

Weekly downloads
2
License
MIT
Repository
github
Last release
9 years ago

cordova-res-builder
===================

Generates iOS and Android App Icons and Splash Screens from a single input image.

Thanks to alexanderscott.

Installation


Install GraphicsMagick first. You can use Homebrew in Mac OSX:

$ brew install graphicsmagick  

Install cordova-res-builder via npm:

$ npm install -g cordova-res-builder  

Usage


$ cordova-res-builder [options] <file> <background-color hex-code> <output directory>  

Options:

-h, --help output usage information
-V, --version output the version number
--only-ios Only generate iOS icons
--only-android Only generate Android icons

Example


$ cordova-res-builder logo.png 000 res  

logo.png is a 2048x2048 image file.