Skip to content

Provides a function that takes in a SVG file and converts it into an ICO file with all the possible image dimensions.

Notifications You must be signed in to change notification settings

araguma/svg-to-ico

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation

npm i https://github.com/araguma/svg-to-ico.git

Usage

import svgToIco from 'svg-to-ico'

svgToIco('path/to/input.svg', 'path/to/output.ico');
// Generated output.ico contains the following:
// input.png (16 x 16)
// input.png (24 x 24)
// input.png (32 x 32)
// input.png (48 x 48)
// input.png (64 x 64)
// input.png (128 x 128)
// input.png (256 x 256)

About

Provides a function that takes in a SVG file and converts it into an ICO file with all the possible image dimensions.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published