Skip to content

ethanui/svg2ico

Repository files navigation

Send us a message

SVG2ICO

👨‍💻 Author: Ethan | 📄 License: MIT | Contact us Email


📋 Overview

SVG2ICO converts SVG vector graphics into ICO files that can be used for:

  • Windows application icons
  • Website favicons (favicon.ico)
  • File association icons
  • Any other use case requiring ICO format

🚀 Getting Started

Installation & Setup:

📦 Prerequisites: npm v20+↗

npm install -g svg2ico && svg2ico-setup

Interacting with the tool:

  • svg2ico - Runs the converter.
  • svg2ico-update- Used to update path & size.
  • svg2ic-resize - Used to edit the output (.ico) sizes.
  • svg2ico [SVG-folder] [Converted-ICO-folder] - Used temporarily override converter paths.

Parameters:

Parameter Description Default Value
input-folder Directory containing SVG files to convert "../Desktop/Design/icons"
output-folder Directory where the new ICO files will be saved "../Desktop/Design/converted-ico-files"
icon-size Size of the output ICO files 64x64 px

Process flow:

  1. SVG files are read from the input folder
  2. Each SVG is converted to a high-quality PNG
  3. PNGs are then converted to ICO format
  4. ICO files are saved to the output folder

About

The simplest command-line tool to batch convert SVG files to ICO (Windows icon / Favicon) format.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors