https://github.com/shresht7/ico
A simple command-line utility to generate Windows ICO files from PNG and SVGs
https://github.com/shresht7/ico
favicon ico icons svg
Last synced: 9 days ago
JSON representation
A simple command-line utility to generate Windows ICO files from PNG and SVGs
- Host: GitHub
- URL: https://github.com/shresht7/ico
- Owner: Shresht7
- License: mit
- Created: 2025-04-13T19:57:06.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2025-04-14T10:23:52.000Z (about 1 month ago)
- Last Synced: 2025-04-14T10:32:15.596Z (about 1 month ago)
- Topics: favicon, ico, icons, svg
- Language: Rust
- Homepage:
- Size: 35.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# `ico`
A simple command-line utility to generate Windows ICO files
## Features
- Generate ICO files from PNG or SVG images
- Create icons with multiple sizes in a single ICO file
- Extract frames from existing ICO files
- View detailed information about ICO files
- Support for both icon and cursor resources## Usage
### Generate ICO file
cmd: `generate`, `gen`, `create`, `encode`, `new`, `pack`
- Generate ICO with default sizes (16,32,48,64,256)
```bash
ico generate input.png --output icon.ico
```- Generate ICO with custom sizes
```bash
ico generate input.svg --output icon.ico --sizes 32,64,128
```### View ICO information
cmd: `info`, `show`, `inspect`, `describe`, `details`
- View ICO info in human-readable format
```bash
ico info icon.ico
```- View ICO info in JSON format
```
ico info icon.ico --json
```### Extract ICO frames
cmd: `extract`, `unpack`, `decode`, `dump`
- Extract all frames as PNG files
```bash
ico extract icon.ico --output frames/
```---
## License
This project is licensed under the [MIT License](./LICENSE)