Skip to content

Instantly share code, notes, and snippets.

@fizx
Created April 13, 2009 19:15
Show Gist options
  • Select an option

  • Save fizx/94645 to your computer and use it in GitHub Desktop.

Select an option

Save fizx/94645 to your computer and use it in GitHub Desktop.
function matte() {
composite $1 -size `identify $1 | egrep -o "[0-9]+x[0-9]+" | head -n 1` "xc:$2" $3
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment