Skip to content

Instantly share code, notes, and snippets.

@jwagner

jwagner/key0.png Secret

Last active November 22, 2016 15:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jwagner/10efd4aec866c6fc13eb3c9d9bec493c to your computer and use it in GitHub Desktop.
Save jwagner/10efd4aec866c6fc13eb3c9d9bec493c to your computer and use it in GitHub Desktop.
gmic morph
#!/bin/bash
mkdir fields
mkdir frames
gmic -w -morph_files key*.png,9,1.5,5,0,-1,1,fields/f.png
for field in fields/*.png
do
base=`basename $field`
convert $field palette-bias-32.png -blur 0x1 -channel RGBA -clut -define png:color-type=6 frames/$base
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment