浏览代码

Added image autorotate script

Samuel W. Flint 8 年之前
父节点
当前提交
c7eda952aa
共有 1 个文件被更改,包括 7 次插入0 次删除
  1. 7 0
      autorotate-image

+ 7 - 0
autorotate-image

@@ -0,0 +1,7 @@
+#!/bin/zsh -f
+
+OLD=$1
+NEW=${OLD}-new
+
+convert -auto-orient ${OLD} ${NEW}
+mv ${NEW} ${OLD}