Skip to content

Painless way to resize your icon for all platforms: wechat, weibo, ios, android, and so on

License

Notifications You must be signed in to change notification settings

lyfeyaj/iconcutter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IconCutter

Painless way to resize your icon for all platforms: wechat, weibo, ios, android, and so on

Pre-Installation

IconCutter relies on imagemagick, if you do not have it installed, see below:

  • if you are using Mac OS, use brew install imagemagick
  • if you are using Debian or Ubuntu, use apt-get install imagemagick
  • if you are using Windows, pray.....

Installation

  1. If you have ruby env installed on your computer, just run below command:
gem install iconcutter
  1. Or, you can directly clone this repo, see below:
git clone https://github.com:lyfeyaj/iconcutter.git

Usage

Run command as below:

## Options
# Usage: crop_image_as_app_icons [options] image_file
#    -p, --platform x,y,z             Specify app plaform: android,ios,wechat,weibo,ios_submition,all
#    -o, --out [DIR]                  output icons directory
#    -h, --help                       Show help message

iconcutter your_path_to_the_image -o ~/YourIconDirectory

Enjoy, versions of icons for all kinds of platforms will be generated!

Output

output

Contribute

  • Fork
  • Create a new branch (git checkout -b my-new-feature)
  • Commit your patch or feature (git commit -am 'Added some feature')
  • Push your codes (git push origin my-new-feature)
  • Create a new push request

LICENCE

MIT

Author

Felix Liu

About

Painless way to resize your icon for all platforms: wechat, weibo, ios, android, and so on

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages