Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

Awesome Lists containing this project

README

        

SVG-to-(Windows)-Ico



License: MIT


Twitter: WalterWoshid


Tests


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.