Crates.io | icogen |
lib.rs | icogen |
version | 1.2.0 |
source | src |
created_at | 2022-08-04 20:35:36.228905 |
updated_at | 2023-01-21 15:04:00.940693 |
description | Quickly convert image files into Windows .ico files |
homepage | https://github.com/hamaluik/icogen |
repository | https://github.com/hamaluik/icogen |
max_upload_size | |
id | 638939 |
size | 52,234 |
Quickly convert image files into Windows .ico
files
I often need to convert an image into a .ico
file and often turn to some web-based service to do this (just drag and drop the image, out comes a .ico
, etc). I shouldn't have to go online to do this quickly and easily, hence this tool. It is small and only does 1 thing, and will only ever do one thing, by design. This is a thin CLI wrapper around the image crate.
icogen 1.2.0
Kenton Hamaluik <kenton@hamaluik.ca>
Quickly convert image files into Windows .ico files
USAGE:
icogen.exe [OPTIONS] <IMAGE>
ARGS:
<IMAGE> The image file to convert
OPTIONS:
-f, --filter <FILTER> Which resampling filter to use when resizing the image [default: cubic] [possible values: nearest, triangle, cubic, gaussian, lanczos]
-h, --help Print help information
-o, --out <OUT> The output file to write to, defaults to "<filename>.ico"
-s, --sizes <SIZES> What sizes of icon to generate [default: 16 20 24 32 40 48 64 96 128 256]
--stop-on-warning If enabled, any warnings will stop all processing
-V, --version Print version information
Basically what image supports for decoding, plus SVG:
From crates.io (assuming you have Rust installed):
$ cargo install icogen
Otherwise, some pre-compiled binaries should be available on GitHub: https://github.com/hamaluik/icogen/releases/