0.4.1 • Published 2 months ago

@0x-jerry/imger v0.4.1

Weekly downloads
-
License
MIT
Repository
-
Last release
2 months ago

Imger

A command line tool that help you to generator images, support icns and ico.

Install

pnpm i @0x-jerry/imger

Global install:

pnpm add -g @0x-jerry/imger

Usage

Use default preset.

imger ./path/to/image.png ./output

Use json preset file.

./preset.json:

{
  "input": "path/to/image",
  "output": "path/to/output/dir",
  "shapes": [
    "icon.ico",
    "icon.icns",
    "128x128.png",
    "128x128@2x.png",
    "512x512.png",
    {
      "name": "custom-name.png",
      "size": "25x25"
    },
    {
      "name": "custom-name@2x.png",
      "size": "25x25@2x"
    }
  ]
}
imger -p ./preset.json
0.4.1

2 months ago

0.4.0

2 months ago

0.3.0

3 months ago

0.2.2

2 years ago

0.1.7

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago