• Stars
    star
    959
  • Rank 47,674 (Top 1.0 %)
  • Language
    Shell
  • Created over 9 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

This script is use to generate iOS/macOS/watchOS app icons more easier.

iOS/macOS/watchOS APP ICONS Generator

Description

ios-icon-generator is a shell script which aim to generate iOS/macOS/watchOS APP icons easier and simply. image

VERSION: 2.0.0
USAGE:
    ./ios-icon-generator.sh srcfile dstpath

DESCRIPTION:
    This script aim to generate iOS/macOS/watchOS APP icons easier and simply.

    srcfile - The source png image. Preferably above 1024x1024
    dstpath - The destination path where the icons generate to.

AUTHOR:
    smallmuou

EXAMPLE:
    ./ios-icon-generator.sh 1024.png ~/123

Usage

  1. Clone
git clone https://github.com/smallmuou/ios-icon-generator
cd ios-icon-generator
chmod 777 ios-icon-generator.sh
  1. Run
smou:ios-icon-generator $ ./ios-icon-generator.sh 1024.png ~/output/
[INFO] Generate Icon-16.png ...
[INFO] Generate [email protected] ...
[INFO] Generate Icon-32.png ...
[INFO] Generate [email protected] ...
[INFO] Generate Icon-128.png ...
[INFO] Generate [email protected] ...
[INFO] Generate Icon-256.png ...
[INFO] Generate [email protected] ...
[INFO] Generate Icon-512.png ...
[INFO] Generate [email protected] ...
[INFO] Generate [email protected] ...
[INFO] Generate [email protected] ...
[INFO] Generate [email protected] ...
[INFO] Generate [email protected] ...
[INFO] Generate [email protected] ...
[INFO] Generate [email protected] ...
[INFO] Generate [email protected] ...
[INFO] Generate [email protected] ...
[INFO] Generate [email protected] ...
[INFO] Generate [email protected] ...
[INFO] Generate Icon-1024.png ...
[INFO] Generate [email protected] ...
[INFO] Generate [email protected] ...
[INFO] Generate [email protected] ...
[INFO] Generate [email protected] ...
[INFO] Generate [email protected] ...
[INFO] Generate [email protected] ...
[INFO] Generate [email protected] ...
[INFO] Congratulation. All icons for iOS/macOS/watchOS APP are generate to the directory: /Users/smou/output/.

PS: You can find out the icons in ~/output directory.

Refer

History

  • 2.0.0

    • Update iOS icons size
    • Support macOS icons size
    • Support watchOS icons size
    • Remove ImageMagick Dependency
    • Update code structure for add size more easy.
  • 1.0.0

    • Generate all size icons for iPhone and iPad.

License

This script follow MIT license.

Contact

If you have any question with using it, you can email to me. My email is: [email protected]

More Repositories

1

xmlyfetcher

喜马拉雅音频下载工具
Shell
402
star
2

PPDragDropBadgeView

PPDragDropBadgeView is a badge view which able to drag and drop. Just like QQ 5.0 badge view.
Objective-C
314
star
3

PPHTMLImagePreviewDemo

该Repo用于演示APP中点击HTML的图片来预览图片的功能
Objective-C
89
star
4

Jekyll-Pithy

Pithy Jekyll Theme
CSS
69
star
5

wavutils

wavutils is a tool set that process wav file
Shell
46
star
6

PPSqliteORM

Sqlite数据库的ORM操作,基于FMDB,封装成framework,操作简单
Objective-C
34
star
7

xcode-configure

This command can generate makefile to build xcode project in command line just like <configure & make & make install> in C/C++ language world.
Shell
34
star
8

ios-resource-3x2x1x

该脚本实现批量将3x图片资源转化成2x与1x
Shell
16
star
9

lightssdpd

ssdp server and client
C
15
star
10

baiduyun-accelerator

百度云加速器
Shell
13
star
11

PPTranslator

汉字转换成拼音首字母
Objective-C
7
star
12

YDSlider

为Slider添加middleTrack,用于实现音乐或视频播放的buffered进度
Objective-C
7
star
13

map2cloud

Map local port to cloud - 映射本地端口至云端
Shell
5
star
14

SandboxAccessor

SandboxAccessor is a lib based on mongoose to access sandbox more easier
C
5
star
15

apns-tester

APNS测试,包含服务端、客户端
Objective-C
5
star
16

travis-ci-tutorial

从零开始,travis-ci入门教程
C
4
star
17

tcp_server_client_demo

TCP Server & Client Demo
C
4
star
18

app-publisher

APP内测发布系统
Shell
3
star
19

tinyhtml

Expand tinyxml,support html
C++
3
star
20

Blogs

Store my blogs
Python
3
star
21

dictionary

dictionary for c
C
2
star
22

yuedu

client for yuedu.fm
Objective-C
2
star
23

yeelink-python-sdk

Yeelink sdk for python
Python
2
star
24

RefreshView

RefreshView for uiscrollview(support pull down/up/left/right)
Objective-C
2
star
25

RTSPPlayer

RTSPPlayer write by objc
C
2
star
26

VolumeBar

VolumeBar write by objc
Objective-C
1
star
27

PPPopoverSlideViewController

从侧边弹出菜单,并具备毛玻璃效果
Objective-C
1
star
28

jssh

Run javascript in shell
Shell
1
star
29

myplayer

myplayer is my family customized music player. with raspberrypi + dac + volumio + motion + myplayer + cron, i build a self-play music player
Shell
1
star
30

hello-grunt

为了方便grunt初学者能够快速地入门,本Repo为大家展现一个简单而有趣的示例,在本示例中,为大家展现『如何实现js文件自动化压缩』
JavaScript
1
star
31

CocoaPodsSpecs

This repo use to story my favorate thirdpart libraray.
Ruby
1
star
32

UIOverlapedViewController

UIOverlapedViewController write by objc
Objective-C
1
star
33

qn-ctl

qiniu commands just like ls/rm/mkdir/put/get in linux file operation.
Shell
1
star
34

Dimmer

Dimmer write by objc
Objective-C
1
star
35

PPAdvertisingView

Advertising view for app.
Objective-C
1
star
36

XCodeCodeSnippets

Auto sync my xcode code snippets to github
Shell
1
star
37

rtprewrite

rewrite rtp package, like tcprewrite
Shell
1
star