phonegap-res
v0.2.1
Published
Automatic splash screen & icon cropping for PhoneGap
Downloads
3
Readme
phonegap-splash
phonegap-splash has been abandoned in favour of phonegap-res. phonegap-res can generate both icons and splash screens. Please move forward with phonegap-res. Thank you!
phonegap-res
Automatic splash screen & icon generator for PhoneGap. Create a splash screen (2208x2208) & icon (1024x1024) once in the www folder of your phonegap project and use phonegap-res to automatically crop and copy it for all the platforms your project supports (currenty works with iOS and Android).
Installation
sudo npm install -g phonegap-res
Usage
Create a splash.png
& icon.png
file in the www folder of your phonegap project and run:
phonegap-res
Requirements
- ImageMagick
Install on a Mac:
brew update
brew install imagemagick
- At least one platform was added to your project (phonegap platforms docs)
- PhoneGap's config.xml file must exist in the root folder (phonegap config.xml docs)
License
MIT
Future Development
- Add arguments to independently generate icons or splash screens.
- Add other platforms.