Project

iconcutter

0.0
No commit activity in last 3 years
No release in over 3 years
A icon cut iconcutter verification tool
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 1.0.0
>= 0
>= 0
>= 0
>= 0
 Project Readme

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