Skip to content

Latest commit

 

History

29 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.
This project is MIT licensed.

About

SVG-to-(Windows)-ICO is a simple Linux script to convert SVG images to ICO files which can be used as icons on Windows.

Topics

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages