Last active
October 9, 2018 14:00
-
-
Save motionbug/8ffd2d7ba7b1b68314c4b01007e36572 to your computer and use it in GitHub Desktop.
Create png from icns file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#great little script to just use system icons for scripts | |
ICNS="/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/Sync.icns" | |
LOGO="/private/tmp/logo.png" | |
convertlogo=$(sips -z 512 512 -s format png ${ICNS} --out ${LOGO}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment