Skip to content

Instantly share code, notes, and snippets.

@paddlefish
paddlefish / resize_icon.py
Created December 28, 2014 00:10
Resize Vector source image for AppIcon
import re
import json
from subprocess import call
from pprint import pprint
for iconset in ['Design Show Server/Images.xcassets/AppIcon.appiconset', 'Design Show/Images.xcassets/AppIcon.appiconset']:
json_data=open(iconset + '/Contents.json')
newdata = []
data = json.load(json_data)

Keybase proof

I hereby claim:

  • I am paddlefish on github.
  • I am paddlefish (https://keybase.io/paddlefish) on keybase.
  • I have a public key ASD9njHo2gllF7sh7eL30GDZQEt1JLl-cfgzBnceT5IZago

To claim this, I am signing this object: