Socket
Book a DemoInstallSign in
Socket

@randy.tarampi/android-icon-resize

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@randy.tarampi/android-icon-resize

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

Source
npmnpm
Version
2.3.0
Version published
Maintainers
1
Created
Source

android-icon-resize

Build Status Dependency Status devDependency Status Semantically Released Greenkeeper badge

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

The default icon file names and required sizes for android are retrieved from the android-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 iOS.

Install

$ npm install --save @randy.tarampi/android-icon-resize

Usage

var resize = require('@randy.tarampi/android-icon-resize');

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

CLI

$ npm install --global @randy.tarampi/android-icon-resize
$ android-icon-resize --help
Create all required icons from one icon. Right size, right file name.

Example
  $ android-icon-resize -i path/to/icon.png -o path/to/output/
	

License

MIT © David Pfahler

Keywords

cli

FAQs

Package last updated on 06 Jan 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts