Last active
August 29, 2015 13:59
-
-
Save Xummer/10695984 to your computer and use it in GitHub Desktop.
命令行图片处理 sips
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 把图片最大一边压缩到800px,另一边按比例缩放 | |
sips -Z 800 ./*.png | |
# 顺时针旋转90度 | |
sips -r 90 ./*.png | |
# 垂直翻转 | |
sips -f vettical ./*.png | |
#更多命令 sips -h |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment