Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

apple-icon-gen

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

apple-icon-gen

Generate icon files for all Apple platforms from a single icon

latest
npmnpm
Version
1.4.0
Version published
Maintainers
1
Created
Source

Introduction

alt text

Transform PNG files into the requisite sizes for Apple platforms. Doesn't require ImageMagick which can be a pain to get working on a Mac. Instead, it uses the sharp module.

Arguments

--input input file

--output output directory

--spec list of images sizes to generate, see example below

Example usage

npm install -g apple-icon-gen

apple-icon-gen --input='data/input/icon.png' --output='data/output' --spec='20@2 20@3 29@2 29@3 40@2 40@3 60
@2 60@3'

Troubleshooting

The code is really simple. Modify/debug it if there are exceptions.

Keywords

icons

FAQs

Package last updated on 09 Apr 2017

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