Skip to content

Instantly share code, notes, and snippets.

@jpsilvashy
jpsilvashy / generateAppIcon.sh
Last active December 29, 2018 15:34 — forked from roblabs/generateAppIcon.sh
Generate app icons and xcassets file from a single image. generateAppIcon.sh AppIcon.png
#!/bin/bash -e
# --------------------------------------------------------
# Generate app icons and xcassets file from a single image
# Ben Clayton, Calvium Ltd.
# https://gist.github.com/benvium/2be6d673aa9ac284bb8a
# --------------------------------------------------------
#
# Usage with an input of 1024x1024 PNG file
# generateAppIcon.sh AppIcon.png