🖼️ svico
An SVG to ICO converter optimized for the smallest lossless output
🕹️ CLI
or download a prebuilt binary
🧩 API
[]
= "0.2"
An SVG to ICO converter optimized for the smallest lossless output
cargo install svico
or download a prebuilt binary
Usage: svico <input.svg> [options]
Options:
-o, --output <path> Output .ico path [<input>.ico]
-s, --sizes <list> Comma-separated sizes in 1..=256 [16,24,32,256]
-h, --help Print help
Examples:
svico icon.svg
svico icon.svg -o app/favicon.ico
svico icon.svg -s 64,128,256
[dependencies]
svico = "0.2"
fn main() -> anyhow::Result<()> {
svico::convert("icon.svg", "icon.ico", &[16, 24, 32, 256])?;
Ok(())
}