Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- x=10
- y=10
- width=100
- height=100
- for f in *.png; do
- echo $f
- convert "$f" -crop "$width"x"$height"+"$x"+"$y" "$f"
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement