openFrameworks icon indicating copy to clipboard operation
openFrameworks copied to clipboard

better space handling, and a transparent DEBUG banner to create overlays

Open artificiel opened this issue 1 year ago • 2 comments

this is an update to the macOS icon processing script, now with "debug" banner overlay for the debug version. an example:

image

artificiel avatar Apr 30 '24 01:04 artificiel

Nice. I'm using now icons all the time, but most doesn't fit the recommended macOS icon shape Screenshot 2024-05-09 at 13 14 35 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

dimitre avatar May 09 '24 16:05 dimitre

Love it!! :D

ofTheo avatar May 16 '24 02:05 ofTheo