@randy.tarampi/ios-icon-resize
v3.0.2
Published
Create all required icons from one icon. Right size, right file name.
Downloads
10
Maintainers
Readme
ios-icon-resize
Create all required icons from one icon. Right size, right file name.
The default icon file names and required sizes for iOS are retrieved from the ios-icons module.
The files created have the default names as you might want to use them, for example, in config.xml
of a PhoneGap/Cordova project.
Install
$ npm install --save @randy.tarampi/ios-icon-resize
Usage
var resize = require('@randy.tarampi/ios-icon-resize');
resize('path/to/icon-large.png', 'output/icons/').then(function() {
// icons have been created
});
CLI
$ npm install --global @randy.tarampi/ios-icon-resize
$ ios-icon-resize --help
Create all required icons from one icon. Right size, right file name.
Example
$ ios-icon-resize -i path/to/icon.png -o path/to/output/
License
MIT © David Pfahler