generate.sh 220 B

1234567891011
  1. #!/bin/bash
  2. #
  3. # This script uses imagemagick to generate the stripe-XXpx.gif's.
  4. #
  5. for i in `seq 10 40`; do
  6. convert -size 30x$[2*$i] xc:white \
  7. -fill '#f9f9f9' -draw "rectangle 0,0 30,$i" \
  8. stripe-${i}px.gif
  9. done