Bash script:
#!/bin/bash #sudo apt-get install imagemagick for i in {0..31}; do convert -rotate 180 -crop '3262x2330+192+72' img-$i.jpg jpg:- | \ convert -crop '50x100%' jpg:- imgout-$i%d.jpg; \ rm img-$i.jpg; \ done
Bash script:
#!/bin/bash #sudo apt-get install imagemagick for i in {0..31}; do convert -rotate 180 -crop '3262x2330+192+72' img-$i.jpg jpg:- | \ convert -crop '50x100%' jpg:- imgout-$i%d.jpg; \ rm img-$i.jpg; \ done