Skip to content

Create all required icons from one icon. Right size, right file name.

License

Notifications You must be signed in to change notification settings

jimwhitelaw/ios-icon-resize

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ios-icon-resize

Build Status Dependency Status devDependency Status Semantically Released

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.

This also exists for android.

Install

$ npm install --save ios-icon-resize

Usage

var resize = require('ios-icon-resize');

resize('path/to/icon-large.png', 'output/icons/').then(function() {
	// icons have been created
});

CLI

$ npm install --global 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

About

Create all required icons from one icon. Right size, right file name.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%