Skip to content

Instantly share code, notes, and snippets.

View meigesir's full-sized avatar

Steve meigesir

  • learn
  • New York
View GitHub Profile
@meigesir
meigesir / Iconizer.sh
Last active October 3, 2019 07:57 — forked from steverichey/Iconizer.sh
根据pdf(psd文件另存为)生成appIcons:需要安装ImageMagick,使用brew安装,首先运行'brew doctor'自我检测一下,然后'brew update'更新,接下来安装步骤:1.安装imagemagick:brew install imagemagick 2.安装依赖ghostscript: brew install ghostscript
#!/bin/sh
#
# Iconizer shell script by Steve Richey (srichey@floatlearning.com)
#
# This is a simple tool to generate all necessary app icon sizes and the JSON file for an *EXISTING* Xcode project from one file.
# To use: specify the path to your vector graphic (PDF format) and the path to your Xcode folder containing Assets.xcassets
# Example: sh iconizer.sh MyVectorGraphic.pdf MyXcodeProject
#
# Requires ImageMagick: http://www.imagemagick.org/