1.0.0 • Published 11 months ago

electron-icon-maker-revised v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

electron-icon-maker-revised

Global usage

Install globally using

npm install -g electron-icon-maker-revised

To use

electron-icon-maker --input=/absolute/path/file.png --output=./relative/path/to/folder

Local usage

Install locally

npm install --save-dev electron-icon-maker-revised

To use

./node_modules/.bin/electron-icon-maker-revised --input=/absolute/path/file.png --output=./relative/path/to/folder

Arguments

--output, -o = [String] Folder to create files
--input, -i = [String] Path to PNG file

Recommendations

Input file should be 1024px x 1024px or larger. Make sure it is a 1 to 1 aspect ratio on width to height.

Output structure

[output dir]
    -[icons]
        -[mac]
            - icon.icns
        -[png]
            - 16x16.png
            - 24x24.png
            ...
            ...
            - 512x512.png
            - 1024x1024.png
        -[win]
            -icon.ico

Example Images

Here are some example images generated by the Electron Icon Maker:

Input Image

Input Image

Output Icons

Windows Icon

Windows Icon

PNG Icons

Below are the PNG icons in various sizes:

  • 16x16: 16x16
  • 24x24: 24x24
  • 32x32: 32x32
  • 48x48: 48x48
  • 128x128: 128x128
  • 256x256: 256x256
1.0.0

11 months ago