0.9.7 • Published 8 years ago

iconresize v0.9.7

Weekly downloads
1
License
ISC
Repository
-
Last release
8 years ago

iconresize

Simple CLI resizing for square icons

NPM Version NPM Downloads

What?

Create one or more resized icons from a large png file

Why?

  • Mainly for app development, you have a large file (eg 512x512) and you want to make a bunch of smaller ones without the hassle of image editing
  • Resize many in one go
  • Intelligently naming the output
  • Fast and reliable

Requirements

You need ImageMagick - (brew install imagemagick or apt-get install imagemagick). Test if you have it by running convert in your command line.

install rupl

npm install iconresize -g

run it

iconresize 120 144 180 72

it will find the first appropriate png and resize (copy) to mypng120.png, mypng144.png, mypng180.png, mypng72.png

Which file is chosen?

It will find a file in the current directory which: 1. is a .png file 2. doesn't have numbers in the filename So, it is possible it will operate on the wrong file, in that case please move the appropriate target file to a new folder and rerun.

In action:

Screenshot

0.9.7

8 years ago

0.9.6

8 years ago

0.9.5

8 years ago

0.9.4

8 years ago

0.9.3

8 years ago

0.9.2

8 years ago

0.9.1

8 years ago