transparentmaker.sh 167 B

1234567
  1. #!/usr/bin/env bash
  2. for PHOTO in *_s.jpg
  3. do
  4. BASE=`basename $PHOTO .jpg`
  5. convert $PHOTO "$BASE.png"
  6. convert "$BASE.png" -fuzz 1% -transparent white "$BASE.png"
  7. done