1.0.9 • Published 5 years ago

cordova-convert v1.0.9

Weekly downloads
4
License
MIT
Repository
github
Last release
5 years ago

cordova-convert

This project is based on AlexDisler's projects cordova-icon and cordova-splash.

cordova-convert automatically creates icons and splash images for your cordova project by placing the images in their correct paths

supported files: jpeg, jpg, gif, png, svg

TODO:

  • Write a better readme
  • Add console debugging messages

Requirements

Installation

Install cordova-convert globally

npm install cordova-convert -g

Usage

cordova-convert will look for icon.(jpg,jpeg,png,svg) and splash.(jpg,jpeg,png,svg) and config.xml in the current working directory

if no arguments are specified it will look for both, otherwise specify which to convert either --icon or --splash

you can also select a specific file with --icon-image=path-to-icon.png or --splash-image=path-to-splash.png

$ cordova-convert
$ cordova-convert --icon
$ cordova-convert --splash

$ cordova --icon --icon-image=path/to/image.png

Notes:

this package does not modify your config.xml file!

improvements and help are appreciated!

License

MIT

1.0.9

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago