Skip to content

Convert your .PNG file(s) to one multisize .ICO file

License

Notifications You must be signed in to change notification settings

dbconfig/png2ico

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

png2ico

Simple tool that convert multiple .PNG files to one multisize .ICO file.

How to use

First of all, install Pillow by using this command:

pip install Pillow

Next, use this command to convert all your (or only one) .PNG file(s) to one .ICO file:

python png2ico.py 16.png 32.png ...

BTW, you don't actually need to have all of this .PNG files (16.png, 32.png, ...). With -r flag you can convert only one .PNG file to .ICO file with 7 different sizes (from 16x16 to 255x255):

python png2ico.py big-png-file.png -r

Also, you can specify output .ICO filename by using -o:

pyhon png2ico.py ... -o favicon.ico

If you're on Windows, you can just use drag&drop.cmd in the way shown in the gif below

drag&drop.cmd

About

Convert your .PNG file(s) to one multisize .ICO file

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published