A small Rust desktop app for converting SVG files into icon assets.
- Win64 application icon: creates a multi-resolution
.icofile with 16, 24, 32, 48, 64, 128, and 256 px entries. - UI raster icon set: creates transparent PNG icons at common UI sizes, defaulting to 16, 20, 24, and 32 px.
The application UI itself follows the egui-phosphor format: Phosphor icons are loaded as an egui fallback font and referenced by Rust constants such as egui_phosphor::regular::FILE_SVG.
That is different from exporting arbitrary SVGs. A Phosphor-style egui icon library is a font plus Rust glyph constants; a normal SVG can be rasterized into PNGs or ICOs, but it is not automatically a font-backed egui icon without a separate font-generation step.
The app uses off-the-shelf crates for the hard parts:
eframe/eguifor the desktop UIegui-phosphorfor in-application UI iconsrfdfor native file/folder pickersusvg/resvg/tiny-skiafor SVG parsing and rasterizationicofor Windows.icowritingimagefor PNG output
cargo run