Skip to content

Instantly share code, notes, and snippets.

@s-leroux
Last active October 30, 2016 09:47
Show Gist options
  • Save s-leroux/df7c4080efea65fdeb27b53d16d1e0ec to your computer and use it in GitHub Desktop.
Save s-leroux/df7c4080efea65fdeb27b53d16d1e0ec to your computer and use it in GitHub Desktop.
Blueish frame
#!/bin/bash
COLOR="#59838c"
for f in FRAME-*.png; do convert \( -size 1920x1080 xc:black \) \( $f -alpha Off -level 10%,100% -negate \) -compose CopyOpacity -composite ${f/FRAME/ALPHA}; done
for f in ALPHA-*.png; do convert \( -size 1920x1080 xc:"$COLOR" \) \( $f \) -compose Over -composite ${f/ALPHA/OVER}; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment