openFrameworks
openFrameworks copied to clipboard
better space handling, and a transparent DEBUG banner to create overlays
this is an update to the macOS icon processing script, now with "debug" banner overlay for the debug version. an example:
Nice. I'm using now icons all the time, but most doesn't fit the recommended macOS icon shape
I'm using just the 512 and 1024 version so the icns is smaller
#!/bin/bash
cd "$(dirname "$0")"
#sips -s format icns *.png --out myIcon.icns
# NAME=of
# NAME=of_debug
for NAME in *.png; do
NAME = "${NAME%.*}"
mkdir ${NAME}.iconset
sips -z 512 512 ${NAME} --out ${NAME}.iconset/icon_512x512.png
cp ${NAME} ${NAME}.iconset/[email protected]
iconutil -c icns ${NAME}.iconset
rm -R ${NAME}.iconset
done
Love it!! :D