Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/walterwoshid/svg-to-windows-ico
SVG-to-(Windows)-ICO is a simple Linux script to convert SVG images to ICO files which can be used as icons on Windows.
https://github.com/walterwoshid/svg-to-windows-ico
icons shell-script svg windows
Last synced: 9 days ago
JSON representation
SVG-to-(Windows)-ICO is a simple Linux script to convert SVG images to ICO files which can be used as icons on Windows.
- Host: GitHub
- URL: https://github.com/walterwoshid/svg-to-windows-ico
- Owner: WalterWoshid
- License: mit
- Created: 2022-09-05T02:58:28.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-01-29T22:40:12.000Z (about 2 years ago)
- Last Synced: 2023-03-11T08:22:54.851Z (almost 2 years ago)
- Topics: icons, shell-script, svg, windows
- Language: Shell
- Homepage:
- Size: 43 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
SVG-to-(Windows)-Ico
SVG-to-(Windows)-ICO is a simple script to convert SVG images to ICO files which can be used as icons on Windows## Example
![]()
Compatible with Windows
## Installation
- Install the dependencies:
- `sudo apt install -y icoutils inkscape imagemagick`
- Download the `svg-to-ico.sh` script file.
- Make it executable: `chmod +x svg-to-ico.sh`
- Run it with `./svg-to-ico.sh` and see the help section for more information# Usage
`svg-to-ico.sh [options] input [output]`
### Convert single image
`. svg-to-ico.sh icon.svg`
### Convert single image with custom output name
`. svg-to-ico.sh icon.svg my-icon.ico`
### Convert directory with images
`. svg-to-ico.sh icons`
### Convert directory with custom output name
`. svg-to-ico.sh icons my-icons`
### Convert image with 20 pixels padding
`. svg-to-ico.sh icon.svg -p 20`
### Convert directory with 20 tasks in parallel
`. svg-to-ico.sh icons -t 20`
### Convert directory by running all tasks in parallel
`. svg-to-ico.sh icons -t 0`
## Testing
- Make it executable: `chmod +x ./tests/run-tests.sh`
- Run `./tests/run-tests.sh` to run all tests## Show your support
Give a ⭐️ if this project helped you!
## 📝 License
Copyright © 2022 [Valentin Wotschel](https://github.com/WalterWoshid).
This project is [MIT](https://opensource.org/licenses/MIT) licensed.