This package has been deprecated

Author message:

this package has been deprecated

cordova-convert

1.0.9 • Public • Published

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

Package Sidebar

Install

npm i cordova-convert

Weekly Downloads

7

Version

1.0.9

License

MIT

Unpacked Size

22 kB

Total Files

15

Last publish

Collaborators

  • wuild