Разделение страниц пополам +crop-rotate с помощью ImageMagick

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
Tagged , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published.