diff --git a/fix_images.sh b/fix_images.sh new file mode 100755 index 0000000..e6f84d7 --- /dev/null +++ b/fix_images.sh @@ -0,0 +1,10 @@ +#!/bin/sh + +for image in ./scrapped-data/*.png +do + # Mirror the image in the horizontal direction so + # that the pokemon will be looking to the right. + convert -flop "$image" "$image" + # Trim the useless empty space around the pokemon. + convert -trim "$image" "$image" +done