Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Paste Apple watch screenshots into frames. Designed to use the frames from http://blog.maxrudberg.com/post/110056879433/apple-watch-bezels-for-bezel
#!/bin/bash
USAGE="Usage: $0 frame-image.png watchScreenshot1.png watchScreenshot1.png ..."
if [ "$#" == "0" ]; then
echo "$USAGE"
exit 1
fi
frame=$1
shift
frame_name=`basename "$frame" .png`
while (( "$#" )); do
output_file=`basename "$1"`
output_file=`basename $output_file .png`
output_file=`basename $output_file .PNG`
output_file="${output_file}__${frame_name}.png"
echo $1 "->" $output_file
composite -geometry +125+250 "$1" "$frame" "$output_file"
shift
done
@JesseCrocker

This comment has been minimized.

Copy link
Owner Author

@JesseCrocker JesseCrocker commented Mar 24, 2015

This seems to work best with screenshots from the 42mm watch pasted into the 38mm frames.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.