icon_set_generator
Simple CLI tool to enable easy production of icon sets for your next application.
Installation
-
Clone the repo and add
bin/icon_set_generator.exe
to PATH:gh repo clone POWRFULCOW89/icon_set_generator
or
-
Get the pub package:
dart pub add icon_set_generator
and build from source:
dart compile exe .\bin\icon_set_generator.dart
or
-
Grab a prebuilt binary.
Usage
icon_set_generator image.extension [-e] [-o] [-s] [-a] [-w] [-h]
-e, --extension option: Extension to convert the set to.
-o, --output option: Output directory.
-s, --set option: Custom set of sizes
-a, --apple flag: Generate icon sets for Apple apps.
-w, --windows10 flag: Generate icon sets for Windows 10 apps.
-h, --help flag: Shows the CLI usage.
Examples
-
Output a standard set from
favicon.png
:icon_set_generator favicon.png
-
Output the standard, Apple and Windows 10 sets from
logo.jpg
:icon_set_generator logo.jpg -a -w
-
Output a custom size set from
image.gif
to thesamples
folder inICO
format:icon_set_generator image.gif -o samples --set "[10, 20, 30]" -e ico