Skip to content

jvonfricken/icon-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Python Icon Generator

Description

This is a super simple command line script written in Python that generates downsampled icons based on master resolution. As of now, the script only supports iOS icons.

Usage

First, the script uses Pillow in order to do image processsing, so make sure that's installed on your machine

pip install Pillow

Once that's installed you're good to go.

optional arguments:
  -h, --help                     show this help message and exit
  -f FILE, --file FILE           file name of icon
  -n NEWFILE, --newfile NEWFILE  overrides the file name during saving

Pass the filename using the -f flag, if you want to use a different filename than the master filename, pass that using the -n flag

Example

python gen_icons.py -f some-file.png -n some-file-fancyname.png

Boom. That's it. Very simple.

About

Python icon generator

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages