Generate PhoneGap icon and splash screens.
Takes three position parameters:
- A path to an icon image. Should be a square with a recommended size of
2048x2048 in any file format that ImageMagick understands (e.g.
png
,svg
) - A background fill colour hex string (used in splash screens). The icon will be centered on top of a single-colored background.
- Optional. A destination directory, otherwise the current working directory.
Example:
bash phonegap-icon-splash-generator.sh YOUR_FILE.png "#FFFFFF"
Copy the resulting res
directory within your PhoneGap's www
directory and
merge the provided config.xml
.
convert
from the ImageMagick package
Copyright 2012 Tom Vincent http://tlvince.com/contact
Released under the MIT License.