Skip to content

Instantly share code, notes, and snippets.

@shadowfacts
Created March 11, 2018 17:55
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 shadowfacts/14e2b132b56a97fdde974b43178d1bda to your computer and use it in GitHub Desktop.
Save shadowfacts/14e2b132b56a97fdde974b43178d1bda to your computer and use it in GitHub Desktop.
#!/bin/bash
# Requirements: imagemagick
# Usage: ./reverse.sh <repetitions>
cp orig.png new.png
for i in `seq 1 $1`
do
echo "Iteration: $i"
composite -geometry 125x171+502+280 new.png new.png new.png
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment